diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2008-07-29 15:17:27 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2008-07-29 15:17:27 +0000 |
commit | efe9d1955a42dd949fecf800fffc4070e9bc85bb (patch) | |
tree | b5754e7167b6211e8f9513ca15a039d4cb2c6ad3 /phpBB/download | |
parent | 634cf8c71eb327c339e4781b9385e40ef1406ffc (diff) | |
download | forums-efe9d1955a42dd949fecf800fffc4070e9bc85bb.tar forums-efe9d1955a42dd949fecf800fffc4070e9bc85bb.tar.gz forums-efe9d1955a42dd949fecf800fffc4070e9bc85bb.tar.bz2 forums-efe9d1955a42dd949fecf800fffc4070e9bc85bb.tar.xz forums-efe9d1955a42dd949fecf800fffc4070e9bc85bb.zip |
enable stupid php.ini fallback for readfile (#30325 - fix by bellzebu)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8724 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download')
-rw-r--r-- | phpBB/download/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 73c8f94188..8580debe7e 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -343,7 +343,7 @@ function send_avatar_to_browser($file, $browser) header("Content-Length: $size"); } - if (@readfile($file_path) === false) + if (@readfile($file_path) == false) { $fp = @fopen($file_path, 'rb'); |