X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fsac-a-push.phh;h=46227fcc588e51131fbd5f7c0eeed2487247daa0;hb=c0cc54c9494acf8f43b92a0517d32d38b5006aa0;hp=619d0b20032fe08782b36e258c6597da78256656;hpb=ad168d33f53581e082fa52a392c84af861afe47d;p=brisk.git diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index 619d0b2..46227fc 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -39,7 +39,7 @@ $_globals_list = array( 'G_mail_seed', 'G_notguar_code', 'G_PG_cons', 'G_PG_cons_n', 'G_PG_vow', 'G_PG_vow_n', 'G_poll_entries', 'G_poll_name', 'G_poll_title', 'G_provider_proxy', 'G_proxy_white_list', 'G_room_about', 'G_room_help', -'G_room_passwdhowto', 'G_room_roadmap', 'G_room_whysupport', +'G_room_passwdhowto', 'G_room_roadmap', 'G_selfreg_mask', 'G_selfreg_tout', 'G_shutdown', 'G_sidebanner', 'G_sidebanner_idx', 'G_splash_content', 'G_splash_contents', 'G_splash_cont_idx', 'G_splash_h', 'G_splash_idx', 'G_splash_interval', @@ -571,7 +571,7 @@ class Sac_a_push { function pendpage_try_addcont(&$new_socket, $tout, $method, $header, $get, $post, $cookie, $path, $addr, $rest, $cont) { - $pendpage = PendingPage::pendingpage_continue(&$new_socket, $this->curtime, $tout, $method, + $pendpage = PendingPage::pendingpage_continue( $new_socket, $this->curtime, $tout, $method, $header, $get, $post, $cookie, $path, $addr, $rest, $cont); @@ -1033,7 +1033,7 @@ class Sac_a_push { return cmd_return(401, 'malformed cmd'); } $idx = -1; - if (($user = $this->app->get_user($cmd['sess'], &$idx)) == FALSE) + if (($user = $this->app->get_user($cmd['sess'], $idx)) == FALSE) return cmd_return(402, 'user not found'); if (($user->flags & USER_FLAG_TY_ADMIN) == 0x00)