diff --git a/class2.php b/class2.php index 32457afee..0fc24fd01 100755 --- a/class2.php +++ b/class2.php @@ -2419,7 +2419,7 @@ class error_handler case E_DEPRECATED: // case E_STRICT: - if ($startup_error || E107_DBG_ALLERRORS || E107_DBG_ERRBACKTRACE) + if ($startup_error || deftrue('E107_DBG_ALLERRORS') || deftrue('E107_DBG_ERRBACKTRACE')) { @@ -2441,7 +2441,7 @@ class error_handler } break; case E_WARNING: - if ($startup_error || E107_DBG_BASIC || E107_DBG_ERRBACKTRACE) + if ($startup_error || deftrue('E107_DBG_BASIC') || deftrue('E107_DBG_ERRBACKTRACE')) { // $error['short'] = "Warning: {$message}, Line {$line} of {$file}
\n"; $error['short'] = "".$this->label[$type]." {$message}, Line {$line} of {$file}
\n";