aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-12-20 10:56:03 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-12-20 10:56:03 +0000
commit0745a023b8fcab5dfa2016147815216133649114 (patch)
tree8c79b9adcab9cfcb1a947d089c25a56f6eaad0a9 /phpBB/download
parentab9465a90e6ebb9c485d180431d297ba14af4884 (diff)
downloadforums-0745a023b8fcab5dfa2016147815216133649114.tar
forums-0745a023b8fcab5dfa2016147815216133649114.tar.gz
forums-0745a023b8fcab5dfa2016147815216133649114.tar.bz2
forums-0745a023b8fcab5dfa2016147815216133649114.tar.xz
forums-0745a023b8fcab5dfa2016147815216133649114.zip
erm, yes.
git-svn-id: file:///svn/phpbb/trunk@8282 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download')
-rw-r--r--phpBB/download/file.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index 9bf16ce0dc..552c43335e 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -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);
}