From 6e38e86bbbf154ee0617c5e7bbea1cc5104fc65c Mon Sep 17 00:00:00 2001 From: devil_gong Date: Mon, 28 Oct 2019 11:29:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=AE=A1=E7=90=86=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/PluginsService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/service/PluginsService.php b/application/service/PluginsService.php index 657d0c30c..7e3774b91 100755 --- a/application/service/PluginsService.php +++ b/application/service/PluginsService.php @@ -72,7 +72,7 @@ class PluginsService { foreach($data as $k=>$v) { - if(is_string($v) && !empty($v)) + if(!empty($v) && !is_array($v) && !is_object($v)) { $ext = strrchr(substr($v, -6), '.'); if($ext !== false)