1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/13044] Correct Expires headers

PHPBB3-13044
This commit is contained in:
Jakub Senko
2014-09-17 10:52:19 +02:00
parent 20903c0a9b
commit 33b2063680
5 changed files with 6 additions and 6 deletions

View File

@@ -5062,7 +5062,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
// application/xhtml+xml not used because of IE
'Content-type' => 'text/html; charset=UTF-8',
'Cache-Control' => 'private, no-cache="set-cookie"',
'Expires' => '0',
'Expires' => gmdate('D, d M Y H:i:s \G\M\T', time()),
'Pragma' => 'no-cache',
);
if (!empty($user->data['is_bot']))