1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +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

@@ -164,7 +164,7 @@ if (defined('DEBUG') && request_var('explain', 0) && $auth->acl_get('a_'))
{
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time()));
header('Pragma: no-cache');
$mtime = explode(' ', microtime());