From a2ae81dfd5260c4c7142fa0152fccfb3c8a8e336 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Mon, 7 Jan 2019 10:04:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E9=9D=9E=E7=99=BB=E5=BD=95=E7=8A=B6=E6=80=81=E4=B8=8B?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Ueditor.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/application/admin/controller/Ueditor.php b/application/admin/controller/Ueditor.php index 0d4c0da61..028bc5339 100755 --- a/application/admin/controller/Ueditor.php +++ b/application/admin/controller/Ueditor.php @@ -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) { // 配置信息