1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +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

@@ -112,7 +112,7 @@ function adm_page_header($page_title)
// 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',
);