From c4ab2b2f9a88409fbd78325a4d2c19fcb4ed340c Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 14 Mar 2011 13:18:21 +0100 Subject: Membership in Session eingefügt, Filtertypes nur einmal per Script einfügen, auskommentierten Code entfernt --- application/controllers/ResourceController.php | 28 +++++--------------------- 1 file changed, 5 insertions(+), 23 deletions(-) (limited to 'application/controllers/ResourceController.php') 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(); -- cgit v1.2.3-55-g7522