diff options
| author | michael pereira | 2011-10-28 12:32:44 +0200 |
|---|---|---|
| committer | michael pereira | 2011-10-28 12:32:44 +0200 |
| commit | 1d90bd9452477c2f5b6766edcf08da1d171bc953 (patch) | |
| tree | 50afd97cca9a5da0beef86ce6d2cefb0fe1fb5ae /application/modules/ipxe/controllers | |
| parent | login (diff) | |
| download | pbs2-1d90bd9452477c2f5b6766edcf08da1d171bc953.tar.gz pbs2-1d90bd9452477c2f5b6766edcf08da1d171bc953.tar.xz pbs2-1d90bd9452477c2f5b6766edcf08da1d171bc953.zip | |
login
Diffstat (limited to 'application/modules/ipxe/controllers')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 18 |
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; + } |
