summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authormichael pereira2011-09-20 16:00:38 +0200
committermichael pereira2011-09-20 16:00:38 +0200
commitdd3e5cadd83360a6146349010d0e753be69bfa49 (patch)
tree98a0139fed4bc2e9b2ea8dcff1617d5f0f55cfba /application/modules
parentipxe gefixt (diff)
downloadpbs2-dd3e5cadd83360a6146349010d0e753be69bfa49.tar.gz
pbs2-dd3e5cadd83360a6146349010d0e753be69bfa49.tar.xz
pbs2-dd3e5cadd83360a6146349010d0e753be69bfa49.zip
ipxe gefixt
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php2
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index feb85d2..63780fe 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -63,7 +63,7 @@ class Ipxe_ResourceController extends Zend_Controller_Action
header("Content-Length: ".filesize(getcwd()."/vesamenu.c32"));
passthru( "cat vesamenu.c32");
- }else{
+ }else{
header('HTTP/1.0 404 Not Found');
}
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index 710b7b6..63d81f4 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -58,7 +58,7 @@
?>
TIMEOUT 100
PROMPT 0
-DEFAULT http://pbs2.mp.openslx.org/media/vesamenu.c32
+DEFAULT <?php echo "http://$this->host/ipxe/resource/getvesamenu/alpha/$this->alphaID\n"; ?>
MENU BACKGROUND http://pbs2.mp.openslx.org/media/img/pbs2.png
MENU WIDTH 78