summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/controllers
diff options
context:
space:
mode:
authormichael pereira2011-07-18 16:49:57 +0200
committermichael pereira2011-07-18 16:49:57 +0200
commitffe18ee3decb6f64f4267817861296e4d1cc4744 (patch)
tree53f49ed1e01710ec7b1e3fcc197fe67db2b452be /application/modules/ipxe/controllers
parentlogin test (diff)
downloadpbs2-ffe18ee3decb6f64f4267817861296e4d1cc4744.tar.gz
pbs2-ffe18ee3decb6f64f4267817861296e4d1cc4744.tar.xz
pbs2-ffe18ee3decb6f64f4267817861296e4d1cc4744.zip
login test
Diffstat (limited to 'application/modules/ipxe/controllers')
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index ae2d33f..bf3c859 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -70,14 +70,9 @@ class Ipxe_ResourceController extends Zend_Controller_Action
}
public function getvesamenuconfigAction(){
-
- if(!isset($_SERVER['PHP_AUTH_USER'])){
- header('WWW-Authenticate: Basic realm=""');
- header('HTTP/1.0 401 Unauthorized');
- exit;
- }
header('Content-Type: text/html');
+ header('WWW-Authenticate: Basic realm=""');
$content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT']) == 'IE') ? 'inline' : 'attachment';
header('Content-Disposition: ' . $content_disp . '; filename="vesamenu.conf"');
header('Pragma: no-cache');