mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
hrm - let's try this.
git-svn-id: file:///svn/phpbb/trunk@8242 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e2e56acca9
commit
559f614db7
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue