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/acp | |
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/acp')
-rw-r--r-- | phpBB/includes/acp/acp_database.php | 4 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_icons.php | 2 |
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"'); |