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:
parent
f5ed04f8ff
commit
7085a6c74d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user