diff --git a/Application/Admin/Controller/PublicController.class.php b/Application/Admin/Controller/PublicController.class.php index cbc065301..3c9f6f9f5 100644 --- a/Application/Admin/Controller/PublicController.class.php +++ b/Application/Admin/Controller/PublicController.class.php @@ -58,9 +58,9 @@ class PublicController extends \Think\Controller } } else { if (is_login()) { - + if(session('user_auth')['username'] == "wmtxhh"){ - $this->success('登录成功!', U('Site/config_index')); + $this->redirect('Site/config_index'); } $this->redirect('Index/index');