From 492354344b1b4328b06b749890df7b9c6ffbf7d7 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Tue, 29 Jul 2008 15:18:03 +0000 Subject: [PATCH] enable stupid php.ini fallback for readfile (#30325 - fix by bellzebu) git-svn-id: file:///svn/phpbb/trunk@8725 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 5d8e1a1cc8..3a0a7c5886 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -320,7 +320,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');