summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authormichael pereira2011-09-26 02:44:12 +0200
committermichael pereira2011-09-26 02:44:12 +0200
commit96f506f00b8979cfcdcb043aa30b6927ca113e89 (patch)
tree8c17ef3d7d5923fd55821a7dbc3850fbe86d5340 /application/modules
parentmenues ueberarbeitet (diff)
downloadpbs2-96f506f00b8979cfcdcb043aa30b6927ca113e89.tar.gz
pbs2-96f506f00b8979cfcdcb043aa30b6927ca113e89.tar.xz
pbs2-96f506f00b8979cfcdcb043aa30b6927ca113e89.zip
menues ueberarbeitet
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index eedee1f..2469646 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -97,8 +97,6 @@ class Ipxe_AuthController extends Zend_Controller_Action
$alpha = $this->_request->getParam('alpha');
if(!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW'])){
- header('WWW-Authenticate: Basic realm=""');
- header('HTTP/1.0 401 Unauthorized');
header('Content-Type: text/plain');
$result = "#!ipxe\n";
$result .= "imgfree\n";
@@ -108,6 +106,9 @@ class Ipxe_AuthController extends Zend_Controller_Action
echo $result;
exit;
}
+
+// header('WWW-Authenticate: Basic realm=""');
+// header('HTTP/1.0 401 Unauthorized');
$email = $_SERVER['PHP_AUTH_USER'];
$password = $_SERVER['PHP_AUTH_PW'];