summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/controllers/ResourceController.php
diff options
context:
space:
mode:
authormichael pereira2011-07-18 16:51:36 +0200
committermichael pereira2011-07-18 16:51:36 +0200
commit3809d07e2720dfcad79388db438189a15fa97c50 (patch)
tree732bd452f09ccc2991b8b465975313ddd3a3c3d0 /application/modules/ipxe/controllers/ResourceController.php
parentlogin test (diff)
downloadpbs2-3809d07e2720dfcad79388db438189a15fa97c50.tar.gz
pbs2-3809d07e2720dfcad79388db438189a15fa97c50.tar.xz
pbs2-3809d07e2720dfcad79388db438189a15fa97c50.zip
login test
Diffstat (limited to 'application/modules/ipxe/controllers/ResourceController.php')
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index bf3c859..3631b2f 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -70,9 +70,14 @@ 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');