mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/13045] Remove Pragma headers
PHPBB3-13045
This commit is contained in:
@@ -383,7 +383,7 @@ function view_folder($id, $mode, $folder_id, $folder)
|
||||
break;
|
||||
}
|
||||
|
||||
header('Pragma: no-cache');
|
||||
header('Cache-Control: private, no-cache');
|
||||
header("Content-Type: $mimetype; name=\"data.$filetype\"");
|
||||
header("Content-disposition: attachment; filename=data.$filetype");
|
||||
echo $string;
|
||||
|
Reference in New Issue
Block a user