summaryrefslogtreecommitdiffstats
path: root/system/codeigniter
diff options
context:
space:
mode:
Diffstat (limited to 'system/codeigniter')
-rw-r--r--system/codeigniter/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index 8ac80d634..07b468fef 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -204,7 +204,7 @@ function log_message($level = 'error', $message, $php_error = FALSE)
static $LOG;
$config = get_config();
- if ($config['log_errors'] === FALSE)
+ if ($config['log_threshold'] == 0)
{
return;
}
@@ -255,7 +255,7 @@ function _exception_handler($severity, $message, $filepath, $line)
// Should we log the error? No? We're done...
$config = get_config();
- if ($config['log_errors'] === FALSE)
+ if ($config['log_threshold'] == 0)
{
return;
}