From d30c36264e0d9e6d2eb3a3e753c39ff1b59a4b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 13 Aug 2021 17:07:39 +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/Abstracts/BaseApplication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Abstracts/BaseApplication.php b/System/Abstracts/BaseApplication.php index 372e68c3..e69a2b44 100644 --- a/System/Abstracts/BaseApplication.php +++ b/System/Abstracts/BaseApplication.php @@ -75,7 +75,7 @@ abstract class BaseApplication extends Component $this->parseEvents($config); $this->initErrorHandler(); $this->enableEnvConfig(); - $this->mapping($config['mapping']); + $this->mapping($config['mapping'] ?? []); parent::__construct(); }