summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/controllers/AuthController.php
diff options
context:
space:
mode:
authormichael pereira2011-10-27 16:14:57 +0200
committermichael pereira2011-10-27 16:14:57 +0200
commit6a7203155702a53c0c5225e82010562c57fc7de3 (patch)
tree310bc0c80a16bdba75f69432bc0a80aa58311aa6 /application/modules/ipxe/controllers/AuthController.php
parentvesamenu (diff)
downloadpbs2-6a7203155702a53c0c5225e82010562c57fc7de3.tar.gz
pbs2-6a7203155702a53c0c5225e82010562c57fc7de3.tar.xz
pbs2-6a7203155702a53c0c5225e82010562c57fc7de3.zip
session gc maxlifetime
Diffstat (limited to 'application/modules/ipxe/controllers/AuthController.php')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index aaa4d0e..e9c5d60 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -84,7 +84,7 @@ class Ipxe_AuthController extends Zend_Controller_Action
$result .= "imgfree\n";
if(isset($this->session)){
$result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/$this->error\n";
- $result .= "show dns\n";
+ $result .= "prompt\n";
}else{
$result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/serialnumer/$serialnumber/mac/$mac/error/$this->error\n";
}
@@ -145,7 +145,10 @@ class Ipxe_AuthController extends Zend_Controller_Action
$this->error = "session";
}
- header('Content-Type: text/html');
+ header('Content-Type: text/plain');
+ $result = "blub";
+ header("Content-Length: ".(strlen($result)));
+ echo $result;
//$this->_redirect('/ipxe/resource/getvesamenuconfig/alpha/'.$alpha.'/error/'.$this->error);