From 326f8e9b86aace433f1232013db25b4b01b75a53 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Tue, 27 Sep 2011 14:23:03 +0200 Subject: vesamenu --- .../modules/ipxe/controllers/AuthController.php | 23 ++-------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'application/modules/ipxe/controllers/AuthController.php') diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 6b27f03..ea659b3 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -79,10 +79,7 @@ class Ipxe_AuthController extends Zend_Controller_Action } header('Content-Type: text/plain'); - $content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT']) == 'IE') ? 'inline' : 'attachment'; - header('Content-Disposition: ' . $content_disp . '; filename="serial"'); - header('Pragma: no-cache'); - header('Expires: 0'); + $result = "#!ipxe\n"; $result .= "imgfree\n"; if(isset($this->session)){ @@ -102,10 +99,6 @@ class Ipxe_AuthController extends Zend_Controller_Action if (isset($login)){ header('Content-Type: text/plain'); - $content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT']) == 'IE') ? 'inline' : 'attachment'; - header('Content-Disposition: ' . $content_disp . '; filename="login"'); - header('Pragma: no-cache'); - header('Expires: 0'); $result = "#!ipxe\n"; $result .= "imgfree\n"; $result .= "login\n"; @@ -169,10 +162,6 @@ class Ipxe_AuthController extends Zend_Controller_Action } header('Content-Type: text/plain'); - $content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT']) == 'IE') ? 'inline' : 'attachment'; - header('Content-Disposition: ' . $content_disp . '; filename="logout"'); - header('Pragma: no-cache'); - header('Expires: 0'); $result = "#!ipxe\n"; $result .= "imgfree\n"; @@ -195,10 +184,6 @@ class Ipxe_AuthController extends Zend_Controller_Action } header('Content-Type: text/plain'); - $content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT']) == 'IE') ? 'inline' : 'attachment'; - header('Content-Disposition: ' . $content_disp . '; filename="switchgroup"'); - header('Pragma: no-cache'); - header('Expires: 0'); $result = "#!ipxe\n"; $result .= "imgfree\n"; @@ -225,10 +210,6 @@ class Ipxe_AuthController extends Zend_Controller_Action } header('Content-Type: text/plain'); - $content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT']) == 'IE') ? 'inline' : 'attachment'; - header('Content-Disposition: ' . $content_disp . '; filename="setgroup"'); - header('Pragma: no-cache'); - header('Expires: 0'); $result = "#!ipxe\n"; $result .= "imgfree\n"; @@ -240,7 +221,7 @@ class Ipxe_AuthController extends Zend_Controller_Action // $this->_redirect('/ipxe/resource/getvesamenuconfig/alpha/'.$alpha.'/error/'.$this->error); } - + -- cgit v1.2.3-55-g7522