diff --git a/application/controllers/Admin/Login.php b/application/controllers/Admin/Login.php index 7f17a00..63a05be 100644 --- a/application/controllers/Admin/Login.php +++ b/application/controllers/Admin/Login.php @@ -22,7 +22,7 @@ class Admin_LoginController extends Ctrl_Base{ setcookie('admin[name]',$tRow['admin'],time()+60*60*24*365,'/'); } Tool_Fnc::ajaxMsg('登录成功',1); - $this->showMsg('', '/admin_index'); + $this->showMsg('', '/admin_index/index'); } public function quitAction(){ @@ -30,6 +30,6 @@ class Admin_LoginController extends Ctrl_Base{ setcookie('admin[id]','',time()-1,'/'); setcookie('admin[name]','',time()-1,'/'); unset($_COOKIE); - $this->showMsg('', '/admin_login'); + $this->showMsg('', '/admin_login/index'); } }