diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-11-17 22:35:33 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-11-17 22:35:33 +0000 |
commit | 559f614db7197bfc9ad0bcf4edf70d0cc2d6747b (patch) | |
tree | ce998e0e43588ffde65cd1b487f7f218596d5304 | |
parent | e2e56acca918ceb3cfd1a64a8ec91a788ae4a5f9 (diff) | |
download | forums-559f614db7197bfc9ad0bcf4edf70d0cc2d6747b.tar forums-559f614db7197bfc9ad0bcf4edf70d0cc2d6747b.tar.gz forums-559f614db7197bfc9ad0bcf4edf70d0cc2d6747b.tar.bz2 forums-559f614db7197bfc9ad0bcf4edf70d0cc2d6747b.tar.xz forums-559f614db7197bfc9ad0bcf4edf70d0cc2d6747b.zip |
hrm - let's try this.
git-svn-id: file:///svn/phpbb/trunk@8242 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/download/file.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 0b4e0116db..c3ba3820f9 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -68,6 +68,9 @@ if (isset($_GET['avatar'])) if ($last_load !== false && $last_load <= $stamp) { header('Not Modified', true, 304); + // seems that we need those too ... browsers + header('Pragma: public'); + header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 31536000)); exit(); } else |