X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=ea364cd9eba871edc86dc69fe13bd9db6dad972f;hb=2ae8dac72522528be1c05fea5de272555d5330cf;hp=c80396d7ae889d25aa462b9ed7d68aabfafb20b0;hpb=03b56b29d58cbd66c9d6fefebe842221ceaa5e62;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index c80396d..ea364cd 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -56,7 +56,7 @@ $argz = explode('|', $mesg); log_wr('POSTSPLIT: '.$argz[0]); if ($argz[0] == 'shutdown') { - log_auth($user_cur->sess, "Shutdown session."); + log_auth($user->sess, "Shutdown session."); $tmp_sess = $user->sess; $user->sess = ""; step_unproxy($tmp_sess); @@ -190,8 +190,10 @@ else if ($user->stat == 'room') { log_wr("Pre if!"); - // CHECK - while (array_pop($user_cur->comm) != NULL); +// ARRAY_POP DISABLED +// // CHECK + while (array_pop($user_cur->comm) != NULL); + $ret = ""; $ret .= sprintf('gst.st_loc++; gst.st=%d; createCookie("table_idx", %d, 24*365, cookiepath); createCookie("table_token", "%s", 24*365, cookiepath); the_end=true; window.onunload = null ; document.location.assign("briskin5/index.php");|', $user_cur->step+1, $table_idx, $table_token);