|
@@ -41,7 +41,7 @@ class AppServer {
|
|
|
*/
|
|
|
private static function BeforeProc() {
|
|
|
my_Assert(!config::Inst()->isBaned(req()->uid), ErrCode::err_server_updating); # 检查封号
|
|
|
- if (self::isUpdating()) { # 检查是否处于更新阶段,暂停对玩家请求的响应。
|
|
|
+ if (self::isUpdating()) { # 检查是否处于更新阶段,暂停对玩家请求的响应。
|
|
|
if (req()->uid && !config::Inst()->isTester(req()->uid)) { # 排除测试号
|
|
|
return ErrCode::err_server_updating;
|
|
|
}
|
|
@@ -69,8 +69,8 @@ class AppServer {
|
|
|
}
|
|
|
$resp->AfterProc();
|
|
|
|
|
|
- //self::LogCmdMongo($resp); # 向MongoDB写入操作日志
|
|
|
- // CLog::flush(); # flush日志
|
|
|
+ self::LogCmdMongo($resp); # 向MongoDB写入操作日志
|
|
|
+ CLog::flush(); # flush日志
|
|
|
return true;
|
|
|
}
|
|
|
|