1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-23 08:43:02 +02:00

[ticket/13045] Remove Pragma headers

PHPBB3-13045
This commit is contained in:
Jakub Senko
2014-09-17 20:10:01 +02:00
parent 86ea314598
commit e59222496a
9 changed files with 9 additions and 13 deletions

View File

@@ -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");