From c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Tue, 19 Jun 2012 17:01:15 +0200 Subject: setmembership removed redirect --- application/modules/ipxe/controllers/AuthController.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 0590f4b..b6f9f10 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -202,8 +202,15 @@ class Ipxe_AuthController extends Zend_Controller_Action { } else { $this->error = "session"; } - - $this->_redirect('/ipxe/resource/getvesamenuconfig/alpha/'.$alpha.'/error/'.$this->error); + + header('Content-Type: text/plain'); + $result = "#!ipxe\n"; + $result .= "set filename http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$alpha."/error/".$this->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