From 7c59bb8d15572d0d761bab36060bb43aa2121389 Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Tue, 28 May 2024 15:44:23 +0800 Subject: [PATCH] YS --- application/controllers/Admin/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Admin/Login.php b/application/controllers/Admin/Login.php index e936ae2..7f17a00 100644 --- a/application/controllers/Admin/Login.php +++ b/application/controllers/Admin/Login.php @@ -1,7 +1,7 @@ showMsg('','/admin_index/index');} + if(isset($_SESSION['admin'])){$this->showMsg('','/Admin_index/index');} } public function loginAction(){ $p = $_REQUEST;