diff options
| author | michael pereira | 2011-07-18 15:31:52 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-18 15:31:52 +0200 |
| commit | 4072ebc26b9978cf7840e8f43c9b4d28c400902b (patch) | |
| tree | 993629154fbe60e01bcc62986d7c1a9cebe59f6e | |
| parent | login test (diff) | |
| download | pbs2-4072ebc26b9978cf7840e8f43c9b4d28c400902b.tar.gz pbs2-4072ebc26b9978cf7840e8f43c9b4d28c400902b.tar.xz pbs2-4072ebc26b9978cf7840e8f43c9b4d28c400902b.zip | |
login test
| -rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index 2c699d5..ef0c5ae 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -71,12 +71,15 @@ class Ipxe_ResourceController extends Zend_Controller_Action public function getvesamenuconfigAction(){ - header('Content-Type: text/html'); - $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'); - header('Expires: 0'); +// header('Content-Type: text/html'); +// $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'); +// header('Expires: 0'); + + print_a($_SERVER); + $vesamenuView = new Zend_View(); $vesamenuView->addScriptPath(APPLICATION_PATH.'/modules/ipxe/views/scripts/resource/'); $vesamenuView->username = $_SERVER['PHP_AUTH_USER']; |
