yangsai@163.com 6 months ago
parent 7c59bb8d15
commit 7f2f107306
  1. 4
      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');
}
}

Loading…
Cancel
Save