summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authormichael pereira2011-10-28 12:32:44 +0200
committermichael pereira2011-10-28 12:32:44 +0200
commit1d90bd9452477c2f5b6766edcf08da1d171bc953 (patch)
tree50afd97cca9a5da0beef86ce6d2cefb0fe1fb5ae /application/modules
parentlogin (diff)
downloadpbs2-1d90bd9452477c2f5b6766edcf08da1d171bc953.tar.gz
pbs2-1d90bd9452477c2f5b6766edcf08da1d171bc953.tar.xz
pbs2-1d90bd9452477c2f5b6766edcf08da1d171bc953.zip
login
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index a4d682c..a2ae69a 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -159,15 +159,15 @@ class Ipxe_AuthController extends Zend_Controller_Action
$this->error = "session";
}
- if(isset($this->error)){
- header('Content-Type: text/plain');
- $result = "#!ipxe\n";
- $result = "imgfree\n";
- $result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/auth/login/alpha/".$alpha."/error/".$this->error."\n";
- header("Content-Length: ".(strlen($result)));
- echo $result;
- exit;
- }
+
+ header('Content-Type: text/plain');
+ $result = "#!ipxe\n";
+ $result = "imgfree\n";
+ $result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/auth/login/alpha/".$alpha."/error/".$this->error."\n";
+ header("Content-Length: ".(strlen($result)));
+ echo $result;
+ exit;
+
}