summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index 753a925..45e1e22 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -100,6 +100,16 @@ class Ipxe_AuthController extends Zend_Controller_Action
{
$alpha = $this->_request->getParam('alpha');
$login = $this->_request->getParam('login');
+ $error = $this->_request->getParam('error');
+
+ if (isset($error)){
+ header('Content-Type: text/plain');
+ $result = "bla";
+ header("Content-Length: ".(strlen($result)));
+ echo $result;
+ exit;
+ }
+
if (isset($login)){
header('Content-Type: text/plain');
@@ -154,12 +164,14 @@ class Ipxe_AuthController extends Zend_Controller_Action
$result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/auth/login/alpha/".$alpha."/error/login\n";
header("Content-Length: ".(strlen($result)));
echo $result;
+ exit;
}else{
header('Content-Type: text/plain');
$result = "#!ipxe\n";
$result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/auth/login/alpha/".$alpha."/error/\n";
header("Content-Length: ".(strlen($result)));
echo $result;
+ exit;
}
//$this->_redirect('/ipxe/resource/getvesamenuconfig/alpha/'.$alpha.'/error/'.$this->error);