diff options
Diffstat (limited to 'application/modules')
| -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; + } |
