aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
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/acp
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/acp')
-rw-r--r--phpBB/includes/acp/acp_database.php4
-rw-r--r--phpBB/includes/acp/acp_icons.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php
index 8f9c155ffc..0c52f82459 100644
--- a/phpBB/includes/acp/acp_database.php
+++ b/phpBB/includes/acp/acp_database.php
@@ -269,7 +269,7 @@ class acp_database
break;
}
- header('Pragma: no-cache');
+ header('Cache-Control: private, no-cache');
header("Content-Type: $mimetype; name=\"$name\"");
header("Content-disposition: attachment; filename=$name");
@@ -510,7 +510,7 @@ class base_extractor
if ($download == true)
{
$name = $filename . $ext;
- header('Pragma: no-cache');
+ header('Cache-Control: private, no-cache');
header("Content-Type: $mimetype; name=\"$name\"");
header("Content-disposition: attachment; filename=$name");
diff --git a/phpBB/includes/acp/acp_icons.php b/phpBB/includes/acp/acp_icons.php
index 028025b547..9265415dd1 100644
--- a/phpBB/includes/acp/acp_icons.php
+++ b/phpBB/includes/acp/acp_icons.php
@@ -737,7 +737,7 @@ class acp_icons
{
garbage_collection();
- header('Pragma: public');
+ header('Cache-Control: public');
// Send out the Headers
header('Content-Type: text/x-delimtext; name="' . $mode . '.pak"');