diff --git a/bbs/register_form.php b/bbs/register_form.php index 5f9e3301f..1552caf81 100644 --- a/bbs/register_form.php +++ b/bbs/register_form.php @@ -1,6 +1,6 @@ -define('G4_CAPTCHA', 1); include_once('./_common.php'); +include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php'); include_once(G4_PATH.'/lib/register.lib.php'); // 불법접근을 막도록 토큰생성 @@ -108,9 +108,10 @@ $mb_icon = G4_PATH.'/data/member/'.substr($member['mb_id'],0,2).'/'.$member['mb_ include_once('./_head.php'); if ($g4['https_url']) - $register_action_url = "{$g4['https_url']}/{$g4['bbs']}/register_form_update.php"; + //$register_action_url = "{$g4['https_url']}/{$g4['bbs']}/register_form_update.php"; + $register_action_url = G4_BBS_URL.'/register_form_update.php'; else - $register_action_url = "{$g4['url']}/{$g4['bbs']}/register_form_update.php"; + $register_action_url = G4_BBS_URL.'/register_form_update.php'; $req_nick = !isset($member['mb_nick_date']) || (isset($member['mb_nick_date']) && $member['mb_nick_date'] <= date("Y-m-d", $g4['server_time'] - ($config['cf_nick_modify'] * 86400))); diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 687154878..58b553e3f 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -1,6 +1,6 @@ -define('G4_CAPTCHA', 1); include_once('./_common.php'); +include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php'); include_once(G4_PATH.'/lib/register.lib.php'); include_once(G4_PATH.'/lib/mailer.lib.php'); @@ -307,23 +307,23 @@ if ($w == '') { // 사용자 코드 실행 -@include_once (G4_PATH.'/skin/member/'.$config['cf_member_skin'].'/register_update.skin.php'); +@include_once ($member_skin_path.'/register_update.skin.php'); if ($msg) echo ''; if ($w == "") { - goto_url($g4['bbs_url'].'/register_result.php'); + goto_url(G4_BBS_URL.'/register_result.php'); } else if ($w == 'u') { $row = sql_fetch(" select mb_password from {$g4['member_table']} where mb_id = '{$member[mb_id]}' "); $tmp_password = $row['mb_password']; if ($old_email != $mb_email && $config['cf_use_email_certify']) { set_session("ss_mb_id", ""); - alert('회원 정보가 수정 되었습니다.\n\nE-mail 주소가 변경되었으므로 다시 인증하셔야 합니다.', G4_PATH); + alert('회원 정보가 수정 되었습니다.\n\nE-mail 주소가 변경되었으므로 다시 인증하셔야 합니다.', G4_URL); } else { - alert('회원 정보가 수정 되었습니다.', $g4['url']); + alert('회원 정보가 수정 되었습니다.', G4_URL); /* echo '