mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
SQL控制台必须开启开发者模式
This commit is contained in:
@ -67,6 +67,12 @@ class Sqlconsole extends Common
|
||||
return $this->error('非法访问');
|
||||
}
|
||||
|
||||
// 是否开启开发者模式
|
||||
if(MyConfig('shopxo.is_develop') !== true)
|
||||
{
|
||||
return DataReturn('请先开启开发者模式', -1);
|
||||
}
|
||||
|
||||
// 开始处理
|
||||
return SqlConsoleService::Implement($this->data_request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user