[ticket/13044] Move GMT out of gmdate()

PHPBB3-13044
This commit is contained in:
Jakub Senko 2014-09-17 18:35:38 +02:00
parent ea5e46f6dd
commit 3d637fea98

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 // 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']))