From c73cfb05f7eafbbd35c80008ffcac604f67c3c5c Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 11 Jul 2011 03:14:34 +0200 Subject: redirect raus --- .../modules/ipxe/controllers/ResourceController.php | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'application') diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index 33d2af1..1a14502 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -98,25 +98,11 @@ class Ipxe_ResourceController extends Zend_Controller_Action echo $vesamenu; } - public function ipxeAction(){ - - header('Content-Type: text/plain'); - - $result = "#!ipxe\n"; - $result .= "imgfree\n"; - - $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$this->thisSession->getAlphasessionID()." http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->thisSession->getAlphasessionID(); - - header("Content-Length: ".(strlen($result))); - - echo $result; - - } - public function startAction(){ $bootmenuntryID = $this->_request->getParam('bme'); - $a = $_SESSION['alphasessionID']; + $a = $this->thisSession->getAlphasessionID(); + $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); $bootmenuentry = new Application_Model_BootMenuEntries(); $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry); -- cgit v1.2.3-55-g7522