mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13044] Move GMT out of gmdate()
PHPBB3-13044
This commit is contained in:
parent
ea5e46f6dd
commit
3d637fea98
1 changed files with 1 additions and 1 deletions
|
@ -5062,7 +5062,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||||
// application/xhtml+xml not used because of IE
|
// application/xhtml+xml not used because of IE
|
||||||
'Content-type' => 'text/html; charset=UTF-8',
|
'Content-type' => 'text/html; charset=UTF-8',
|
||||||
'Cache-Control' => 'private, no-cache="set-cookie"',
|
'Cache-Control' => 'private, no-cache="set-cookie"',
|
||||||
'Expires' => gmdate('D, d M Y H:i:s', time() . ' GMT'),
|
'Expires' => gmdate('D, d M Y H:i:s', time()) . ' GMT',
|
||||||
'Pragma' => 'no-cache',
|
'Pragma' => 'no-cache',
|
||||||
);
|
);
|
||||||
if (!empty($user->data['is_bot']))
|
if (!empty($user->data['is_bot']))
|
||||||
|
|
Loading…
Add table
Reference in a new issue