diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2014-09-17 11:15:24 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2014-09-17 11:15:24 +0200 |
commit | 7cbd9e952472360f65f661d590bc95ce83a77458 (patch) | |
tree | 112248da10f2c88d122baf48c8dc0b7136c55b8d /phpBB/includes/functions_download.php | |
parent | 33b20636804f00786e2a2aabf4b5155ac78269f6 (diff) | |
download | forums-7cbd9e952472360f65f661d590bc95ce83a77458.tar forums-7cbd9e952472360f65f661d590bc95ce83a77458.tar.gz forums-7cbd9e952472360f65f661d590bc95ce83a77458.tar.bz2 forums-7cbd9e952472360f65f661d590bc95ce83a77458.tar.xz forums-7cbd9e952472360f65f661d590bc95ce83a77458.zip |
[ticket/13044] move GMT string out of gmdate()
PHPBB3-13044
Diffstat (limited to 'phpBB/includes/functions_download.php')
-rw-r--r-- | phpBB/includes/functions_download.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index 93f3951ad8..02dea6c113 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -56,7 +56,7 @@ function send_avatar_to_browser($file, $browser) if (strpos(strtolower($browser), 'msie 6.0') !== false) { - header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time())); + header('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); } else { @@ -197,7 +197,7 @@ function send_file_to_browser($attachment, $upload_dir, $category) header('Content-Disposition: attachment; ' . header_filename(htmlspecialchars_decode($attachment['real_filename']))); if (empty($user->browser) || (strpos(strtolower($user->browser), 'msie 6.0') !== false)) { - header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time())); + header('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); } } else |