mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11189] Always log critical errors when in cron or in image output
PHPBB3-11189
This commit is contained in:
@@ -4196,7 +4196,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
|||||||
$msg_text = $log_text;
|
$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
|
// let's avoid loops
|
||||||
$db->sql_return_on_error(true);
|
$db->sql_return_on_error(true);
|
||||||
|
Reference in New Issue
Block a user