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;