diff options
Diffstat (limited to 'application/controllers/ResourceController.php')
| -rw-r--r-- | application/controllers/ResourceController.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php index c1eaa65..6b35050 100644 --- a/application/controllers/ResourceController.php +++ b/application/controllers/ResourceController.php @@ -483,6 +483,19 @@ class ResourceController extends Zend_Controller_Action public function getkernelAction() { +// $bootmenuntryID = $this->_request->getParam('bme'); +// +// $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); +// $bootmenuentry = new Application_Model_BootMenuEntries(); +// $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry); +// +// $sessionMapper = new Application_Model_SessionMapper(); +// +// $this->thisSession->setBootmenuentryID($bootmenuntryID); +// $this->thisSession->setBootosID($bootmenuentry->getBootosID()); +// $sessionMapper->save($this->thisSession); + + $bootosID = $this->thisSession->getBootosID(); if(is_dir("../resources/bootos/$bootosID/kernel/") && is_numeric($bootosID)){ |
