mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
hrm - let's try this.
git-svn-id: file:///svn/phpbb/trunk@8242 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -68,6 +68,9 @@ if (isset($_GET['avatar']))
|
|||||||
if ($last_load !== false && $last_load <= $stamp)
|
if ($last_load !== false && $last_load <= $stamp)
|
||||||
{
|
{
|
||||||
header('Not Modified', true, 304);
|
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();
|
exit();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user