X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=6995a18c04c58c64181f3f724fdaa8f5fd63d21a;hb=8ef84c5d0813096c4cc6cd05e3f213118ba8a33b;hp=caf406fa0a09961c7dec877b053d4d1db3c18014;hpb=286da1eb1ec912c9d2c49a132f555b10e0084e53;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index caf406f..6995a18 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -199,7 +199,10 @@ function index_wr_main(&$room, $remote_addr, $get, $post, $cookie) log_wr($user->step, 'index_wr.php: after get_user()'); - if ($argz[0] == 'shutdown') { + if ($argz[0] == 'ping') { + $user->lacc = $curtime; + } + else if ($argz[0] == 'shutdown') { log_auth($user->sess, "Shutdown session."); $user->reset(); @@ -656,6 +659,7 @@ function index_wr_main(&$room, $remote_addr, $get, $post, $cookie) $user_cur->step_inc(); } log_wr("presave bri"); + $room->match_add($table_idx, $bri); log_wr("postsave bri"); } // change room