aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2014-09-17 18:35:38 +0200
committerJakub Senko <jakubsenko@gmail.com>2014-09-17 18:35:38 +0200
commit3d637fea98480258db176ddd2c62b9e0b81a0ef4 (patch)
tree51642c5c186826ca1d5bf40a15de9c1d5e9e500c /phpBB/includes/functions.php
parentea5e46f6dd080f0f3bc70b560f2d202f38e709b9 (diff)
downloadforums-3d637fea98480258db176ddd2c62b9e0b81a0ef4.tar
forums-3d637fea98480258db176ddd2c62b9e0b81a0ef4.tar.gz
forums-3d637fea98480258db176ddd2c62b9e0b81a0ef4.tar.bz2
forums-3d637fea98480258db176ddd2c62b9e0b81a0ef4.tar.xz
forums-3d637fea98480258db176ddd2c62b9e0b81a0ef4.zip
[ticket/13044] Move GMT out of gmdate()
PHPBB3-13044
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
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']))