summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authormichael pereira2011-09-27 14:23:03 +0200
committermichael pereira2011-09-27 14:23:03 +0200
commit326f8e9b86aace433f1232013db25b4b01b75a53 (patch)
tree47741698bc40c55cdcbdaa810382eb88d337ccd1 /application/modules
parentvesamenu (diff)
downloadpbs2-326f8e9b86aace433f1232013db25b4b01b75a53.tar.gz
pbs2-326f8e9b86aace433f1232013db25b4b01b75a53.tar.xz
pbs2-326f8e9b86aace433f1232013db25b4b01b75a53.zip
vesamenu
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php23
1 files changed, 2 insertions, 21 deletions
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);
}
-
+