diff options
| author | michael pereira | 2011-07-18 16:56:36 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-18 16:56:36 +0200 |
| commit | 4289326823448bc4d26e7bc0cf8c85a0e1fc8921 (patch) | |
| tree | 3de15143246d9cf2a7b7e76660603e5145874ac6 /application/modules/ipxe/controllers/ResourceController.php | |
| parent | login test (diff) | |
| download | pbs2-4289326823448bc4d26e7bc0cf8c85a0e1fc8921.tar.gz pbs2-4289326823448bc4d26e7bc0cf8c85a0e1fc8921.tar.xz pbs2-4289326823448bc4d26e7bc0cf8c85a0e1fc8921.zip | |
login test
Diffstat (limited to 'application/modules/ipxe/controllers/ResourceController.php')
| -rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index c4b52fe..6884aa1 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -71,7 +71,7 @@ class Ipxe_ResourceController extends Zend_Controller_Action public function getvesamenuconfigAction(){ - if(!isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['PHP_AUTH_PW'])){ + if(!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW'])){ header('WWW-Authenticate: Basic realm=""'); header('HTTP/1.0 401 Unauthorized'); exit; |
