X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_rd.php;h=9763c9e69056bfefe0e245824de08834c285524d;hb=2a2079521610d585b57f1590326ea7c9ab479af8;hp=40a057c6955e3acb4e130fdbc56b3b4627662882;hpb=cd878766217f91ca79892cc434a41acbae002552;p=brisk.git diff --git a/web/index_rd.php b/web/index_rd.php index 40a057c..9763c9e 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -280,7 +280,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su return (blocking_error(TRUE)); } - if ($user->the_end) { + if ($user->the_end == TRUE) { log_rd2("main_check: the end".var_export(debug_backtrace())); $is_page_streaming = TRUE; } @@ -348,7 +348,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su return (page_sync($user->sess, "briskin5/index.php", $user->table, $user->table_token)); } log_rd2("NEWSTAT: ".$user->stat); - } + } /* if ($cur_step == -1) { */ else { ignore_user_abort(TRUE); $sem = Room::lock_data(FALSE); @@ -422,13 +422,13 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su log_rd2("LOGOUT FROM WHAT ???"); Room::save_data($room); - } - } - } + } /* if ($user->the_end == TRUE) { ... */ + } /* if ($user->the_end == TRUE) { ... */ + } /* if ($cur_step < $user->step) { */ Room::unlock_data($sem); ignore_user_abort(FALSE); - } + } /* else of if ($cur_step == -1) { */ return ($ret);