summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php2
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml2
2 files changed, 3 insertions, 1 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)));
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index 0fd0944..73e0cff 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -73,7 +73,7 @@ TIMEOUT 100
PROMPT 0
DEFAULT vesamenu.c32
-MENU BACKGROUND <?php echo "http://$this->host/ipxe/pbs2.png\n"; ?>
+MENU BACKGROUND pbs2.png
MENU WIDTH 78
MENU MARGIN 9
MENU PASSWORDMARGIN 9