From efe9d1955a42dd949fecf800fffc4070e9bc85bb Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Tue, 29 Jul 2008 15:17:27 +0000 Subject: 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 --- phpBB/download/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- cgit v1.2.1