mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue