插件管理细节优化
parent
6688a1f5c6
commit
6e38e86bbb
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue