diff options
| author | michael pereira | 2011-04-10 21:05:24 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-10 21:05:24 +0200 |
| commit | ce62cf823e40aaf60389a28520390c9373cb3253 (patch) | |
| tree | c4d027e88ea39ecf8d4f6717d7fe6d0f3cec2d4a /application/controllers/ResourceController.php | |
| parent | kcl fixed (diff) | |
| download | pbs2-ce62cf823e40aaf60389a28520390c9373cb3253.tar.gz pbs2-ce62cf823e40aaf60389a28520390c9373cb3253.tar.xz pbs2-ce62cf823e40aaf60389a28520390c9373cb3253.zip | |
Config Own/Group getrennt
Diffstat (limited to 'application/controllers/ResourceController.php')
| -rw-r--r-- | application/controllers/ResourceController.php | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php index a9b2fb3..64d9885 100644 --- a/application/controllers/ResourceController.php +++ b/application/controllers/ResourceController.php @@ -8,6 +8,8 @@ class ResourceController extends Zend_Controller_Action public function init() { + $this->_helper->layout->disableLayout(); + $this->_helper->viewRenderer->setNoRender(); $session = new Application_Model_Session(); $sm = new Application_Model_SessionMapper(); @@ -53,9 +55,6 @@ class ResourceController extends Zend_Controller_Action public function getinitramfsAction() { - $this->_helper->layout->disableLayout(); - $this->_helper->viewRenderer->setNoRender(); - $bootosID = $this->thisSession->getBootosID(); if(is_dir("../resources/bootos/$bootosID/initramfs/") && is_numeric($bootosID)){ @@ -77,9 +76,6 @@ class ResourceController extends Zend_Controller_Action public function getconfigAction() { - $this->_helper->layout->disableLayout(); - $this->_helper->viewRenderer->setNoRender(); - $bootmenuentryID = $this->thisSession->getBootmenuentryID(); $bootmenuentry = new Application_Model_BootMenuEntries(); @@ -106,9 +102,6 @@ class ResourceController extends Zend_Controller_Action public function getkernelAction() { - $this->_helper->layout->disableLayout(); - $this->_helper->viewRenderer->setNoRender(); - $bootosID = $this->thisSession->getBootosID(); if(is_dir("../resources/bootos/$bootosID/kernel/") && is_numeric($bootosID)){ @@ -129,9 +122,7 @@ class ResourceController extends Zend_Controller_Action public function getkclAction() { - $this->_helper->layout->disableLayout(); - $this->_helper->viewRenderer->setNoRender(); - + $bmeID = $this->thisSession->getBootmenuentryID(); if(is_numeric($bmeID)){ @@ -164,9 +155,6 @@ class ResourceController extends Zend_Controller_Action // after selecting the BootOS it will be saved in session // so getkclAction, getkernelAction, getconfigAction and getinitramfsAction // can be called with session-identifier - - $this->_helper->layout->disableLayout(); - $this->_helper->viewRenderer->setNoRender(); $return_val = array( |
