diff options
| author | Simon | 2011-03-14 13:18:21 +0100 |
|---|---|---|
| committer | Simon | 2011-03-14 13:18:21 +0100 |
| commit | c4ab2b2f9a88409fbd78325a4d2c19fcb4ed340c (patch) | |
| tree | a2e6fe7eaa589ad71b4df87d74809c03ff80e403 /application/controllers/ResourceController.php | |
| parent | Resource an alphasession angepasst (diff) | |
| download | pbs2-c4ab2b2f9a88409fbd78325a4d2c19fcb4ed340c.tar.gz pbs2-c4ab2b2f9a88409fbd78325a4d2c19fcb4ed340c.tar.xz pbs2-c4ab2b2f9a88409fbd78325a4d2c19fcb4ed340c.zip | |
Membership in Session eingefügt, Filtertypes nur einmal per Script einfügen, auskommentierten Code entfernt
Diffstat (limited to 'application/controllers/ResourceController.php')
| -rw-r--r-- | application/controllers/ResourceController.php | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php index fe564fc..aef8649 100644 --- a/application/controllers/ResourceController.php +++ b/application/controllers/ResourceController.php @@ -3,8 +3,6 @@ class ResourceController extends Zend_Controller_Action { - private $startval = 878923467; - private $pass = array('lsfks_!$fks', 'un!fr€iburg', '0pen$lx_rulez', 'rand0mText'); public function init() { @@ -20,12 +18,8 @@ class ResourceController extends Zend_Controller_Action public function getinitramfsAction() { $this->_helper->layout->disableLayout(); - $this->_helper->viewRenderer->setNoRender(); - /* - $bootosID = $this->_request->getParam('bootosID'); - $bootosID = $this->alphaID($bootosID, true, false, $this->pass[0]); - $bootosID -= $this->startval; - */ + $this->_helper->viewRenderer->setNoRender(); + $alphasessionID = $this->_request->getParam('alpha'); $session = new Application_Model_Session(); $sm = new Application_Model_SessionMapper(); @@ -53,11 +47,7 @@ class ResourceController extends Zend_Controller_Action $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); - /* - $configID = $this->_request->getParam('configID'); - $configID = $this->alphaID($configID, true, false, $this->pass[1]); - $configID -= $this->startval; - */ + $alphasessionID = $this->_request->getParam('alpha'); $session = new Application_Model_Session(); $sm = new Application_Model_SessionMapper(); @@ -89,11 +79,7 @@ class ResourceController extends Zend_Controller_Action { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); - /* - $bootosID = $this->_request->getParam('bootosID'); - $bootosID = $this->alphaID($bootosID, true, false, $this->pass[2]); - $bootosID -= $this->startval; - */ + $alphasessionID = $this->_request->getParam('alpha'); $session = new Application_Model_Session(); $sm = new Application_Model_SessionMapper(); @@ -121,11 +107,7 @@ class ResourceController extends Zend_Controller_Action { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); - /* - $bmeID = $this->_request->getParam('bootmenuentryID'); - $bmeID = $this->alphaID($bmeID, true, false, $this->pass[3]); - $bmeID -= $this->startval; - */ + $alphasessionID = $this->_request->getParam('alpha'); $session = new Application_Model_Session(); $sm = new Application_Model_SessionMapper(); |
