1
0
mirror of https://e.coding.net/circlecloud/McAccount.git synced 2025-09-08 07:57:49 +00:00

修改服务器信息 修复玩家无法退出的问题...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092
2015-11-12 21:01:18 +08:00
parent 893f6d223d
commit 36ef3990da
4 changed files with 84 additions and 21 deletions

View File

@ -33,7 +33,7 @@ class user_public extends AmysqlController {
}
}
function clientlogout() {
if ($this->_model ( "authme" )->login ( @$_REQUEST ['user'], md5 ( @$_REQUEST ['pass'] ) )) {
if ($this->_model ( "authme" )->clientlogout ( @$_REQUEST ['user'])) {
$_SESSION ['username'] = @$_REQUEST ['user'];
JsonSuccess ( '登陆成功!' );
} else {