From 1b2be2eeec3e8dcd8ef97110f05d9a2f8943e14e Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 4 May 2021 02:29:59 +0800 Subject: [PATCH] modify --- System/Error/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Error/ErrorHandler.php b/System/Error/ErrorHandler.php index 1998abe8..496c4d8a 100644 --- a/System/Error/ErrorHandler.php +++ b/System/Error/ErrorHandler.php @@ -35,7 +35,7 @@ class ErrorHandler extends Component implements ErrorInterface */ public function register() { - ini_set('display_errors', '0'); +// ini_set('display_errors', '1'); set_exception_handler([$this, 'exceptionHandler']); if (defined('HHVM_VERSION')) { set_error_handler([$this, 'errorHandler']);