X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_rd.php;h=2c69a2b7008394b454e0ec8de25a35e4625ba6f7;hb=c16e845881b89f8f84524367a3b4bcf30f895bf8;hp=bfa715ce42ed0a0fa40831ddab460266c0572649;hpb=f817da821006698cdc9bb724aa1945556be84329;p=brisk.git diff --git a/web/index_rd.php b/web/index_rd.php index bfa715c..2c69a2b 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -17,6 +17,8 @@ * not, write to the Free Software Foundation, Inc, 59 Temple Place - * Suite 330, Boston, MA 02111-1307, USA. * + * $Id$ + * */ require_once("brisk.phh"); @@ -44,7 +46,7 @@ function unrecerror() GLOBAL $is_page_streaming; $is_page_streaming = TRUE; - return (sprintf('the_end=true; document.location.assign("index.php");')); + return (sprintf('the_end=true; window.onunload = null; document.location.assign("index.php");')); } @@ -63,7 +65,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su $bri = &load_data(); // Aggiorna l'expire time lato server if ($first_loop == TRUE) { - if (($user = &get_user($bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { unlock_data($sem); return (unrecerror()); } @@ -83,7 +85,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su return (FALSE); } - if (($user = &get_user(&$bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { return (unrecerror()); } @@ -97,7 +99,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su // FUNZIONE from_scratch DA QUI $sem = lock_data(); $bri = &load_data(); - if (($user = &get_user($bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { unlock_data($sem); return (unrecerror()); } @@ -146,7 +148,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su else { $sem = lock_data(); $bri = &load_data(); - if (($user = &get_user($bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { unlock_data($sem); return (unrecerror()); }