{
GLOBAL $G_base, $G_dbasetype;
+ $curtime = time();
if ($bri == NULL) {
return FALSE;
}
log_wr('POSTSPLIT: '.$argz[0].' user->stat: ['.$user->stat.']');
log_wr($user->step, 'bin::index_wr.php: after get_user()');
- if (false && $argz[0] == 'shutdown') {
+ if ($argz[0] == 'ping') {
+ $user->lacc = $curtime;
+ }
+ else if (false && $argz[0] == 'shutdown') {
log_auth($user_cur->sess, "Shutdown session. delegate to room gc the autologout");
log_rd2("bin5/index_wr.php: AUTO LOGOUT.");
$pt_cur = calculate_points(&$table);
$plist = "$table->table_token|$user->table_orig|$table->player_n";
- $curtime = time();
$ucodes = array();
for ($i = 0 ; $i < BIN5_PLAYERS_N ; $i++) {
$user_cur = &$bri->user[$table->player[$i]];