summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authormichael pereira2011-10-31 00:52:49 +0100
committermichael pereira2011-10-31 00:52:49 +0100
commit2924cacea924ff314f0bf108364953d959783944 (patch)
tree1aebbbd11e923ebf1d61671892a8ce0ddccbe18a /application/modules
parentlogin (diff)
downloadpbs2-2924cacea924ff314f0bf108364953d959783944.tar.gz
pbs2-2924cacea924ff314f0bf108364953d959783944.tar.xz
pbs2-2924cacea924ff314f0bf108364953d959783944.zip
login
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index ecd43da..0eee127 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -82,7 +82,7 @@ class Ipxe_AuthController extends Zend_Controller_Action
$result = "#!ipxe\n";
if(isset($this->session)){
- $result .= "set filename http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/$this->error\n";
+ $result .= "set filename http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/".$this->error."\n";
$result .= ":start\n";
$result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 \${filename}\n";
$result .= "show filename\n";
@@ -118,7 +118,7 @@ class Ipxe_AuthController extends Zend_Controller_Action
header('WWW-Authenticate: Basic realm=""');
header('HTTP/1.0 401 Unauthorized');
$result = "#!ipxe\n";
- $result .= "set filename http://".$_SERVER['HTTP_HOST']."/ipxe/auth/login/alpha/".$alpha."/error/login\n";
+ $result .= "set http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/login\n";
header("Content-Length: ".(strlen($result)));
echo $result;
exit;
@@ -159,7 +159,7 @@ class Ipxe_AuthController extends Zend_Controller_Action
header('Content-Type: text/plain');
$result = "#!ipxe\n";
- $result .= "set filename http://".$_SERVER['HTTP_HOST']."/ipxe/auth/login/alpha/".$alpha."/error/".$this->error."\n";
+ $result .= "set filename http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/".$this->error."\n";
header("Content-Length: ".(strlen($result)));
echo $result;
exit;