diff options
| author | michael pereira | 2011-07-22 16:36:58 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-22 16:36:58 +0200 |
| commit | 6119d81194d9c03ff7f677e6d7a5220afdeae9e2 (patch) | |
| tree | ed2c6d35f95e0f00bb4fb8910f241855bf3a2ce4 /application/modules/ipxe/controllers/ResourceController.php | |
| parent | neuer kernel (diff) | |
| download | pbs2-6119d81194d9c03ff7f677e6d7a5220afdeae9e2.tar.gz pbs2-6119d81194d9c03ff7f677e6d7a5220afdeae9e2.tar.xz pbs2-6119d81194d9c03ff7f677e6d7a5220afdeae9e2.zip | |
kernel statt chain zum laden des vesamenu im pxe script
Diffstat (limited to 'application/modules/ipxe/controllers/ResourceController.php')
| -rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index db44a57..1ebfd55 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -71,9 +71,9 @@ class Ipxe_ResourceController extends Zend_Controller_Action public function getvesamenuconfigAction(){ - $login = $this->_request->getParam('login'); + $login = $this->_request->getParam('login') == 'true'; - if($login == 'true'){ + if($login){ if(!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW'])){ header('WWW-Authenticate: Basic realm=""'); header('HTTP/1.0 401 Unauthorized'); |
