diff options
author | Michael Neves | 2012-01-26 22:44:32 +0100 |
---|---|---|
committer | Michael Neves | 2012-01-26 22:44:32 +0100 |
commit | c0dced051aefc18abb5e461dfd77261a9d8e1128 (patch) | |
tree | 59b2811c91668334411862f1e12c2e5ab8691e20 | |
parent | getprebootserials download check (diff) | |
download | pbs2-c0dced051aefc18abb5e461dfd77261a9d8e1128.tar.gz pbs2-c0dced051aefc18abb5e461dfd77261a9d8e1128.tar.xz pbs2-c0dced051aefc18abb5e461dfd77261a9d8e1128.zip |
getprebootserials download check
-rw-r--r-- | application/controllers/ResourceController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php index d7ec03e..57e10dc 100644 --- a/application/controllers/ResourceController.php +++ b/application/controllers/ResourceController.php @@ -235,6 +235,7 @@ class ResourceController extends Zend_Controller_Action { 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="serials.txt"'); header('Pragma: no-cache'); header('Expires: 0'); |