1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 14:57:37 +02:00

erm, yes.

git-svn-id: file:///svn/phpbb/trunk@8282 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2007-12-20 10:56:03 +00:00
parent ab9465a90e
commit 0745a023b8

View File

@@ -67,8 +67,7 @@ if (isset($_GET['avatar']))
{ {
if ($last_load !== false && $last_load <= $stamp) 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); header('Status: 304 Not Modified', true, 304);
} }