summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php18
1 files changed, 2 insertions, 16 deletions
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);