summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-06-19 17:01:15 +0200
committerMichael Neves2012-06-19 17:01:15 +0200
commitc32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e (patch)
tree4645b4cd44def05236700e24e8fc192813579c5a
parentlast warning fixed... (diff)
downloadpbs2-c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e.tar.gz
pbs2-c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e.tar.xz
pbs2-c32428d61b1c6c57cbf9bb08cb0e3ea21b58f10e.zip
setmembership removed redirect
-rw-r--r--application/modules/ipxe/controllers/AuthController.php11
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);
}