插件管理细节优化

feat/task1-c-wallet
devil_gong 2019-10-28 11:29:44 +08:00
parent 6688a1f5c6
commit 6e38e86bbb
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class PluginsService
{ {
foreach($data as $k=>$v) 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), '.'); $ext = strrchr(substr($v, -6), '.');
if($ext !== false) if($ext !== false)