summaryrefslogtreecommitdiffstats
path: root/system/codeigniter
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-13 23:44:17 +0200
committeradmin <devnull@localhost>2006-10-13 23:44:17 +0200
commitb06d69f03f5149877390d7e99882006a141268ff (patch)
tree0d39c4fd2909649a5673af47e4b62a3afc2b629e /system/codeigniter
parent5a14ea1599841bdaac15b45e3efd4cba01601f49 (diff)
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;
}