function shutta()
{
- log_rd2("SHUTTA!".connection_status());
+ log_rd2("SHUTTA [".connection_status()."] !");
}
-
register_shutdown_function(shutta);
function unrecerror()
$user = FALSE;
$curtime = time();
- if (($proxy_step = User::step_get($sess)) == FALSE) {
+ // NOTE: qui forse si potrebbe fallback-are a una User::load_data
+ // anche se non ce ne dovrebbe essere mai la necessità
+ if (($proxy_step = User::load_step($sess)) == FALSE) {
log_only2("R");
return (FALSE);
}
Room::save_data($room);
unset($room);
}
- log_lock("U");
+ log_main("infolock: U");
Room::unlock_data($sem);
ignore_user_abort(FALSE);
} // if (($sem = Room::lock_data()) != FALSE) {
} // if ($first_loop == TRUE) {
if ($cur_step == $proxy_step['s']) {
- log_lock("P");
+ log_main("infolock: P");
return (FALSE);
}
else {
if (($sem = Room::lock_data()) == FALSE)
break;
- log_lock("P");
+ log_main("infolock: P");
$S_load_stat['U_heavy']++;
if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) {
break;