mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
erm, yes.
git-svn-id: file:///svn/phpbb/trunk@8282 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ab9465a90e
commit
0745a023b8
1 changed files with 1 additions and 2 deletions
|
@ -67,8 +67,7 @@ if (isset($_GET['avatar']))
|
|||
{
|
||||
if ($last_load !== false && $last_load <= $stamp)
|
||||
{
|
||||
header('Not Modified', true, 304);
|
||||
if (@php_sapi_name() == 'CGI')
|
||||
if (@php_sapi_name() === 'CGI')
|
||||
{
|
||||
header('Status: 304 Not Modified', true, 304);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue