编辑器初始化非登录状态下不能操作
parent
c6535c7fdd
commit
a2ae81dfd5
|
|
@ -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)
|
||||
{
|
||||
// 配置信息
|
||||
|
|
|
|||
Loading…
Reference in New Issue