mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
- a bunch of bugfixes. :P
git-svn-id: file:///svn/phpbb/trunk@5678 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -226,7 +226,13 @@ function send_file_to_browser($attachment, $upload_dir, $category)
|
||||
|
||||
if (!$result)
|
||||
{
|
||||
trigger_error('Unable to deliver file.<br />Error was: ' . $php_errormsg, E_USER_WARNING);
|
||||
// PHP track_errors setting On?
|
||||
if (!empty($php_errormsg))
|
||||
{
|
||||
trigger_error('Unable to deliver file.<br />Error was: ' . $php_errormsg, E_USER_WARNING);
|
||||
}
|
||||
|
||||
trigger_error('Unable to deliver file.', E_USER_WARNING);
|
||||
}
|
||||
|
||||
flush();
|
||||
|
Reference in New Issue
Block a user