diff options
author | Michael Neves | 2012-06-19 17:01:15 +0200 |
---|---|---|
committer | Michael Neves | 2012-06-19 17:01:15 +0200 |
commit | c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e (patch) | |
tree | 4645b4cd44def05236700e24e8fc192813579c5a | |
parent | last warning fixed... (diff) | |
download | pbs2-c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e.tar.gz pbs2-c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e.tar.xz pbs2-c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e.zip |
setmembership removed redirect
-rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 11 |
1 files 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); } |