From c2a3c31ea775e3e796cc31071735a0555810215e Mon Sep 17 00:00:00 2001 From: michael pereira Date: Thu, 27 Oct 2011 19:09:03 +0200 Subject: start label for vesamenu --- application/modules/ipxe/controllers/AuthController.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'application/modules') 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); -- cgit v1.2.3-55-g7522