From 6f509275746c6421cdda6cd07a4d64559d589a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 01:05:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 267b360b..f65e0c79 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', '0'); set_exception_handler([$this, 'exceptionHandler']); if (defined('HHVM_VERSION')) { set_error_handler([$this, 'errorHandler']);