From c3f2a4103836768fdcb92ad141888524e936d0e0 Mon Sep 17 00:00:00 2001 From: Devil Date: Sat, 15 May 2021 23:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=96=87=E4=BB=B6=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/ConfigService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/service/ConfigService.php b/application/service/ConfigService.php index 60b8825e1..649495c65 100755 --- a/application/service/ConfigService.php +++ b/application/service/ConfigService.php @@ -277,7 +277,7 @@ class ConfigService cache($k, $v); // 数据文件缓存 - if(array_key_exists($k, self::$file_cache_keys)) + if(in_array($k, self::$file_cache_keys)) { MyFileConfig($k, $v); }