X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;fp=web%2Findex_wr.php;h=6701425beb71eea1ac4ff28ba15a07c6f6358e20;hb=8d0f6233af195d6439d7c57bd715686df4cfcb33;hp=002a76e73c5f2a1b621341ec153b8ec11eab8a17;hpb=afc1b39360b6ac908d7387c8774268b0a2441313;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index 002a76e..6701425 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -131,7 +131,7 @@ define('LICMGR_CHO_AFTER', 2); function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) { - GLOBAL $G_domain, $G_webbase, $G_mail_seed, $G_notguar_code; + GLOBAL $G_proto, $G_domain, $G_webbase, $G_mail_seed, $G_notguar_code; GLOBAL $G_shutdown, $G_alarm_passwd, $G_ban_list, $G_black_list, $G_lang, $G_room_help, $G_room_about; GLOBAL $G_room_passwdhowto, $mlang_indwr; GLOBAL $G_tos_vers; @@ -289,8 +289,8 @@ function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) } $hash = md5($curtime . $G_alarm_passwd . $cli_name . $cli_email); - $confirm_page = sprintf("http://%s/%s/mailmgr.php?f_act=checkmail&f_code=%d&f_hash=%s", - $G_domain, $G_webbase, $mail_code, $hash); + $confirm_page = sprintf("%s://%s/%s/mailmgr.php?f_act=checkmail&f_code=%d&f_hash=%s", + $G_proto, $G_domain, $G_webbase, $mail_code, $hash); $subj = $mlang_indwr['nu_msubj'][$G_lang]; $body_txt = sprintf($mlang_indwr['ap_mtext'][$G_lang], $cli_name, $confirm_page); @@ -488,8 +488,8 @@ function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) } $hash = md5($curtime . $G_alarm_passwd . $cli_name . $cli_email); - $confirm_page = sprintf("http://%s/%s/mailmgr.php?f_act=checkmail&f_code=%d&f_hash=%s", - $G_domain, $G_webbase, $mail_code, $hash); + $confirm_page = sprintf("%s://%s/%s/mailmgr.php?f_act=checkmail&f_code=%d&f_hash=%s", + $G_proto, $G_domain, $G_webbase, $mail_code, $hash); $subj = $mlang_indwr['nu_msubj'][$G_lang]; $body_txt = sprintf($mlang_indwr['nu_mtext'][$G_lang], $user->name, $cli_name, $confirm_page);