modified ErrorHandler not to process error closed by @
This commit is contained in:
@ -23,7 +23,10 @@ class ErrorHandler
|
||||
if (!empty($ob_handlers)) {
|
||||
ob_end_clean();
|
||||
}
|
||||
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
|
||||
if (error_reporting() !== 0) {
|
||||
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
static protected function getSource($file, $hiline)
|
||||
|
Reference in New Issue
Block a user