diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2014-09-17 20:10:01 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2014-09-17 20:10:01 +0200 |
commit | e59222496a68e644f9d0c6996ba51256f08d11c4 (patch) | |
tree | 3e8693e275fbd4fd3deff588d252c5e37a949dbc /phpBB/includes/functions_compress.php | |
parent | 86ea314598f84bbf95f7cdc6317555f91637e918 (diff) | |
download | forums-e59222496a68e644f9d0c6996ba51256f08d11c4.tar forums-e59222496a68e644f9d0c6996ba51256f08d11c4.tar.gz forums-e59222496a68e644f9d0c6996ba51256f08d11c4.tar.bz2 forums-e59222496a68e644f9d0c6996ba51256f08d11c4.tar.xz forums-e59222496a68e644f9d0c6996ba51256f08d11c4.zip |
[ticket/13045] Remove Pragma headers
PHPBB3-13045
Diffstat (limited to 'phpBB/includes/functions_compress.php')
-rw-r--r-- | phpBB/includes/functions_compress.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_compress.php b/phpBB/includes/functions_compress.php index 6ed69d6928..a7ee29dd91 100644 --- a/phpBB/includes/functions_compress.php +++ b/phpBB/includes/functions_compress.php @@ -509,7 +509,7 @@ class compress_zip extends compress $mimetype = 'application/zip'; - header('Pragma: no-cache'); + header('Cache-Control: private, no-cache'); header("Content-Type: $mimetype; name=\"$download_name.zip\""); header("Content-disposition: attachment; filename=$download_name.zip"); @@ -757,7 +757,7 @@ class compress_tar extends compress break; } - header('Pragma: no-cache'); + header('Cache-Control: private, no-cache'); header("Content-Type: $mimetype; name=\"$download_name$this->type\""); header("Content-disposition: attachment; filename=$download_name$this->type"); |