From fa5ec972eab53575b06bb5062cbdb579126b8013 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 21 Mar 2011 14:32:55 +0100 Subject: quick-hack um durchzubooten --- .../modules/fbgui/controllers/IndexController.php | 27 ++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'application/modules/fbgui/controllers/IndexController.php') diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index fe457b6..12514c5 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -68,10 +68,33 @@ class Fbgui_IndexController extends Zend_Controller_Action else{ echo "

Not Welcome

"; print_a($_POST); - } + } } - + public function startAction(){ + $bootmenuntryID = $this->_request->getParam('bme'); + $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); + $bootmenuentry = new Application_Model_BootMenuEntries(); + $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry); + + $sessionMapper = new Application_Model_SessionMapper(); + $session_k = $sessionMapper->findBy('alphasessionID',$_SESSION['alphasessionID']); + + $session = new Application_Model_Session(); + $session->setOptions($session_k[0]); + $session->setID($session_k[0]['sessionID']); +# print_a($bootmenuentry);die(); + $session->setBootmenuentryID($bootmenuntryID); + $session->setBootosID($bootmenuentry->getBootosID()); + echo "

Downloading

"; + echo ""; + + } } -- cgit v1.2.3-55-g7522