mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
enable stupid php.ini fallback for readfile (#30325 - fix by bellzebu)
git-svn-id: file:///svn/phpbb/trunk@8725 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -320,7 +320,7 @@ function send_avatar_to_browser($file, $browser)
|
|||||||
header("Content-Length: $size");
|
header("Content-Length: $size");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (@readfile($file_path) === false)
|
if (@readfile($file_path) == false)
|
||||||
{
|
{
|
||||||
$fp = @fopen($file_path, 'rb');
|
$fp = @fopen($file_path, 'rb');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user