mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 06:15:29 +08:00
插件管理细节优化
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user