summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/controllers/AuthController.php
diff options
context:
space:
mode:
authormichael pereira2011-09-27 00:47:10 +0200
committermichael pereira2011-09-27 00:47:10 +0200
commit8cb48a247ad58e00b06e276793e3752cda2b15d8 (patch)
treedf8a8bcfe995e158a59bca8dd7f9636134efeb74 /application/modules/ipxe/controllers/AuthController.php
parentvesamenu test (diff)
downloadpbs2-8cb48a247ad58e00b06e276793e3752cda2b15d8.tar.gz
pbs2-8cb48a247ad58e00b06e276793e3752cda2b15d8.tar.xz
pbs2-8cb48a247ad58e00b06e276793e3752cda2b15d8.zip
vesamenu test
Diffstat (limited to 'application/modules/ipxe/controllers/AuthController.php')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index d98c0e4..ab06818 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -218,15 +218,17 @@ class Ipxe_AuthController extends Zend_Controller_Action
$this->error = "session";
}
- header('Content-Type: text/plain');
-
- $result = "#!ipxe\n";
- $result .= "imgfree\n";
- $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$alpha."/error/$this->error\n";
-
- header("Content-Length: ".(strlen($result)));
+// header('Content-Type: text/plain');
+//
+// $result = "#!ipxe\n";
+// $result .= "imgfree\n";
+// $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$alpha."/error/$this->error\n";
+//
+// header("Content-Length: ".(strlen($result)));
+//
+// echo $result;
- echo $result;
+ $this->_redirect('/ipxe/resource/getvesamenuconfig/alpha/'.$alpha.'/error/'.$this->error);
}