提交 6e38e86b 编写于 作者: D devil_gong

插件管理细节优化

上级 6688a1f5
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册