1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-05 22:14:59 +02:00

[ticket/11189] Always log critical errors when in cron or in image output

PHPBB3-11189
This commit is contained in:
Nathaniel Guse 2012-11-10 10:12:25 -06:00
parent f5ed04f8ff
commit 7085a6c74d

View File

@ -4196,7 +4196,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
$msg_text = $log_text;
}
if ((defined('DEBUG') || defined('IN_CRON') || defined('IMAGE_OUTPUT')) && isset($db))
if ((defined('IN_CRON') || defined('IMAGE_OUTPUT')) && isset($db))
{
// let's avoid loops
$db->sql_return_on_error(true);