From 5ebd0caeb28802e56999c72256fafedfefd5fdbd Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 26 Sep 2011 17:38:00 +0200 Subject: auth header --- application/modules/ipxe/controllers/AuthController.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/modules/ipxe/controllers/AuthController.php') 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))); -- cgit v1.2.3-55-g7522