|
@ -23,7 +23,10 @@ class ErrorHandler |
|
|
if (!empty($ob_handlers)) { |
|
|
if (!empty($ob_handlers)) { |
|
|
ob_end_clean(); |
|
|
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) |
|
|
static protected function getSource($file, $hiline) |
|
|