From fbec7dddc87a08722902178cbde3aaeea9bd745a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 17 Sep 2020 14:15:11 +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/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Abstracts/Config.php b/System/Abstracts/Config.php index c0cfd145..496e4ed8 100644 --- a/System/Abstracts/Config.php +++ b/System/Abstracts/Config.php @@ -58,7 +58,7 @@ class Config extends Component if (strpos($key, '.') === false) { return isset($instance[$key]) ? $instance[$key] : $default; } - foreach (explode('.', $key) as $index => $value) { + foreach (explode('.', $key) as $value) { if (empty($value)) { continue; }