From 2a626f00ed236dbbe4bd45cf52ac8ddd990dfcb7 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Sun, 17 Dec 2023 20:37:37 +0800 Subject: [PATCH] yh --- Application/Admin/Controller/AdminController.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Application/Admin/Controller/AdminController.class.php b/Application/Admin/Controller/AdminController.class.php index 1f2b088..daf212a 100644 --- a/Application/Admin/Controller/AdminController.class.php +++ b/Application/Admin/Controller/AdminController.class.php @@ -43,6 +43,10 @@ class AdminController extends Controller { $this->error('403:禁止访问'); } } + $rule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME); + if ($rule == 'admin/spend/listsMime') { + var_dump($_SERVER['HTTP_HOST']); + } // 检测系统权限 if(!IS_ROOT){ $access = $this->accessControl();