mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 10:22:38 +08:00
编辑器初始化非登录状态下不能操作
This commit is contained in:
@ -48,6 +48,15 @@ class Ueditor extends Common
|
||||
// 配置信息
|
||||
$this->current_config = config('ueditor_config');
|
||||
$this->current_action = input('action');
|
||||
|
||||
// 非获取配置信息登录校验
|
||||
if($this->current_action != 'config')
|
||||
{
|
||||
// 登录校验
|
||||
$this->Is_Login();
|
||||
}
|
||||
|
||||
// action
|
||||
switch($this->current_action)
|
||||
{
|
||||
// 配置信息
|
||||
|
||||
Reference in New Issue
Block a user