1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

Merge branch 'develop-ascraeus' into develop

# By Jakub Senko
# Via Dhruv Goel (1) and Jakub Senko (1)
* develop-ascraeus:
  [ticket/13045] Remove Pragma headers
This commit is contained in:
Dhruv
2014-09-21 11:31:13 +05:30
9 changed files with 9 additions and 13 deletions

View File

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