* not, write to the Free Software Foundation, Inc, 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*
+ * $Id$
+ *
*/
require_once("brisk.phh");
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");'));
}
$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());
}
return (FALSE);
}
- if (($user = &get_user(&$bri, $sess, $idx)) == FALSE) {
+ if (($user = &$bri->get_user($sess, $idx)) == FALSE) {
return (unrecerror());
}
// 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());
}
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());
}