插件管理细节优化

This commit is contained in:
devil_gong
2019-10-28 11:29:44 +08:00
parent 6688a1f5c6
commit 6e38e86bbb

View File

@ -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)