From 3d637fea98480258db176ddd2c62b9e0b81a0ef4 Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Wed, 17 Sep 2014 18:35:38 +0200 Subject: [PATCH] [ticket/13044] Move GMT out of gmdate() PHPBB3-13044 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 7a277055be..a61518401c 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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' => gmdate('D, d M Y H:i:s', time() . ' GMT'), + 'Expires' => gmdate('D, d M Y H:i:s', time()) . ' GMT', 'Pragma' => 'no-cache', ); if (!empty($user->data['is_bot']))