aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2014-09-17 10:52:19 +0200
committerJakub Senko <jakubsenko@gmail.com>2014-09-17 10:52:19 +0200
commit33b20636804f00786e2a2aabf4b5155ac78269f6 (patch)
tree034f0e3a2a7f05ee565f336ce354d0a455380c2a /phpBB/feed.php
parent20903c0a9b0bc2df65feca467a2e318e700a9b8a (diff)
downloadforums-33b20636804f00786e2a2aabf4b5155ac78269f6.tar
forums-33b20636804f00786e2a2aabf4b5155ac78269f6.tar.gz
forums-33b20636804f00786e2a2aabf4b5155ac78269f6.tar.bz2
forums-33b20636804f00786e2a2aabf4b5155ac78269f6.tar.xz
forums-33b20636804f00786e2a2aabf4b5155ac78269f6.zip
[ticket/13044] Correct Expires headers
PHPBB3-13044
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..68cb7b9844 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 \G\M\T', time()));
header('Pragma: no-cache');
$mtime = explode(' ', microtime());