提交 51eb5ba6 编写于 作者: D Devil

安全验证优化

上级 10f561ab
......@@ -317,7 +317,7 @@ class PluginsService
}
// 安全判断
if(config('shopxo.is_develop') === false)
if(config('shopxo.is_develop') === false && strtolower(request()->module()) == 'admin')
{
$key = 'plugins_legal_check_'.$plugins;
$ret = cache($key);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册