From 9a5436da880f13e50f86d9f615cb70d7c99eb51d Mon Sep 17 00:00:00 2001 From: molong Date: Sun, 29 Jul 2018 10:10:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/controller/Admin.php b/application/common/controller/Admin.php index 909d18a3..5142c66e 100644 --- a/application/common/controller/Admin.php +++ b/application/common/controller/Admin.php @@ -36,7 +36,7 @@ class Admin extends Base { $dynamic = $this->checkDynamic(); //检测分类栏目有关的各项动态权限 if ($dynamic === null) { //检测访问权限 - if (!$this->checkRule($this->url, array('in', '1,2'))) { + if (!$this->checkRule($this->url_path, array('in', '1,2'))) { $this->error('未授权访问!'); } else { // 检测分类及内容有关的各项动态权限