diff options
| author | michael pereira | 2011-07-11 03:14:34 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-11 03:14:34 +0200 |
| commit | c73cfb05f7eafbbd35c80008ffcac604f67c3c5c (patch) | |
| tree | e0c0cb9a03104a8e9027ca6b624538423edbf851 /application/modules/ipxe | |
| parent | redirect raus (diff) | |
| download | pbs2-c73cfb05f7eafbbd35c80008ffcac604f67c3c5c.tar.gz pbs2-c73cfb05f7eafbbd35c80008ffcac604f67c3c5c.tar.xz pbs2-c73cfb05f7eafbbd35c80008ffcac604f67c3c5c.zip | |
redirect raus
Diffstat (limited to 'application/modules/ipxe')
| -rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 18 |
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); |
