aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-17 19:44:42 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-17 19:44:42 +0200
commit72012381048589108b2837cbd61091c7f22b986b (patch)
tree65aacfc953c69c2137e0a8eaaa783da52215a673 /phpBB/feed.php
parent20903c0a9b0bc2df65feca467a2e318e700a9b8a (diff)
parent3885ac90f18b86fa835985875fa651526e13b832 (diff)
downloadforums-72012381048589108b2837cbd61091c7f22b986b.tar
forums-72012381048589108b2837cbd61091c7f22b986b.tar.gz
forums-72012381048589108b2837cbd61091c7f22b986b.tar.bz2
forums-72012381048589108b2837cbd61091c7f22b986b.tar.xz
forums-72012381048589108b2837cbd61091c7f22b986b.zip
Merge pull request #2962 from Senky/ticket/13044
[ticket/13044] Expires header violates RFC 2616 * Senky/ticket/13044: [ticket/13044] Move GMT out of gmdate in functions_acp [ticket/13044] Move GMT out of gmdate() [ticket/13044] \G\M\T to GMT in whole project [ticket/13044] move GMT string out of gmdate() [ticket/13044] Correct Expires headers
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index 8971bae768..d4dfb15928 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -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', time()) . ' GMT');
header('Pragma: no-cache');
$mtime = explode(' ', microtime());