diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:12:25 -0600 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:12:25 -0600 |
commit | 7085a6c74d9bc5a4c5a92033977a89f56cce01e1 (patch) | |
tree | 9ad691643d03d05a8fcdc5e83b4a20a1c11959ed | |
parent | f5ed04f8ff0c65e1bfe6a4953b974315dd2790d7 (diff) | |
download | forums-7085a6c74d9bc5a4c5a92033977a89f56cce01e1.tar forums-7085a6c74d9bc5a4c5a92033977a89f56cce01e1.tar.gz forums-7085a6c74d9bc5a4c5a92033977a89f56cce01e1.tar.bz2 forums-7085a6c74d9bc5a4c5a92033977a89f56cce01e1.tar.xz forums-7085a6c74d9bc5a4c5a92033977a89f56cce01e1.zip |
[ticket/11189] Always log critical errors when in cron or in image output
PHPBB3-11189
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 43b81f3f26..7801c48aa7 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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); |