diff options
| author | michael pereira | 2011-09-26 17:38:00 +0200 |
|---|---|---|
| committer | michael pereira | 2011-09-26 17:38:00 +0200 |
| commit | 5ebd0caeb28802e56999c72256fafedfefd5fdbd (patch) | |
| tree | c6b86d8f3620eb2140f8fc64670349703fb95ae0 /application/modules/ipxe/controllers | |
| parent | auth header (diff) | |
| download | pbs2-5ebd0caeb28802e56999c72256fafedfefd5fdbd.tar.gz pbs2-5ebd0caeb28802e56999c72256fafedfefd5fdbd.tar.xz pbs2-5ebd0caeb28802e56999c72256fafedfefd5fdbd.zip | |
auth header
Diffstat (limited to 'application/modules/ipxe/controllers')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 1cff338..88a4db7 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -83,8 +83,10 @@ class Ipxe_AuthController extends Zend_Controller_Action $result = "#!ipxe\n"; $result .= "imgfree\n"; if(isset($this->session)){ + $result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/pbs2.png\n"; $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/$this->error\n"; }else{ + $result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/pbs2.png\n"; $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/serialnumer/$serialnumber/mac/$mac/error/$this->error\n"; } header("Content-Length: ".(strlen($result))); |
