aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compress.php
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2014-09-21 11:29:56 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2014-09-21 11:29:56 +0530
commit84e68b3a73183322e970df39b7bd9d1afd37be8a (patch)
treea7b0703dcbf07e288a1c6dfec45a824a6fc9bb46 /phpBB/includes/functions_compress.php
parentb02e579c1ca1256047e14490947852e49ebee6d9 (diff)
parente59222496a68e644f9d0c6996ba51256f08d11c4 (diff)
downloadforums-84e68b3a73183322e970df39b7bd9d1afd37be8a.tar
forums-84e68b3a73183322e970df39b7bd9d1afd37be8a.tar.gz
forums-84e68b3a73183322e970df39b7bd9d1afd37be8a.tar.bz2
forums-84e68b3a73183322e970df39b7bd9d1afd37be8a.tar.xz
forums-84e68b3a73183322e970df39b7bd9d1afd37be8a.zip
Merge pull request #2963 from Senky/ticket/13045
[ticket/13045] Remove Pragma headers
Diffstat (limited to 'phpBB/includes/functions_compress.php')
-rw-r--r--phpBB/includes/functions_compress.php4
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");