mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
c1cf3404a2
commit
492354344b
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue