mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
[ticket/13045] Remove Pragma headers
PHPBB3-13045
This commit is contained in:
@@ -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");
|
||||
|
||||
|
@@ -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"');
|
||||
|
Reference in New Issue
Block a user