diff --git a/bbs/login.php b/bbs/login.php index 9adbbe306..62a989454 100644 --- a/bbs/login.php +++ b/bbs/login.php @@ -35,7 +35,7 @@ if (G4_HTTPS_DOMAIN) { $path = urlencode($purl['path']); $urlencode = preg_replace("/".$path."/", "", $urlencode); } - $login_url = G4_URL.$urlencode; + $login_url = $urlencode; } } else { $login_url = G4_URL; diff --git a/bbs/memo_form.php b/bbs/memo_form.php index 0571f0ef2..bc6a84486 100644 --- a/bbs/memo_form.php +++ b/bbs/memo_form.php @@ -35,11 +35,7 @@ if ($me_recv_mb_id) $g4['title'] = '쪽지 보내기'; include_once(G4_PATH.'/head.sub.php'); -if ($g4['https_url']) - $memo_action_url = "{$g4['https_url']}/{$g4['bbs']}/memo_form_update.php"; -else - $memo_action_url = "{$g4['url']}/{$g4['bbs']}/memo_form_update.php"; - +$memo_action_url = G4_HTTPS_BBS_URL."/memo_form_update.php"; include_once($member_skin_path.'/memo_form.skin.php'); include_once(G4_PATH.'/tail.sub.php'); diff --git a/bbs/password_lost.php b/bbs/password_lost.php index 19e716762..aab1d68c7 100644 --- a/bbs/password_lost.php +++ b/bbs/password_lost.php @@ -9,12 +9,7 @@ if ($is_member) { $g4['title'] = '회원아이디/패스워드 찾기'; include_once(G4_PATH.'/head.sub.php'); -if ($g4['https_url']) - //$action_url = "{$g4['https_url']}/{$g4['bbs']}/password_lost2.php"; - $action_url = G4_BBS_URL."/password_lost2.php"; -else - $action_url = G4_BBS_URL."/password_lost2.php"; - +$action_url = G4_HTTPS_BBS_URL."/password_lost2.php"; include_once($member_skin_path.'/password_lost.skin.php'); include_once(G4_PATH.'/tail.sub.php'); diff --git a/bbs/write.php b/bbs/write.php index 33c9fe594..a5954a0e8 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -349,10 +349,7 @@ if ($is_guest) { include_once(G4_PATH.'/head.sub.php'); include_once('./board_head.php'); -if ($g4['https_url']) - $action_url = "{$g4['https_url']}/{$g4['bbs']}/write_update.php"; -else - $action_url = G4_BBS_URL."/write_update.php"; +$action_url = G4_HTTPS_BBS_URL."/write_update.php"; include_once ($board_skin_path.'/write.skin.php'); diff --git a/bbs/write_update.php b/bbs/write_update.php index afa51a235..288728f1d 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -605,13 +605,9 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai @include_once ($board_skin_path.'/write_update.skin.php'); @include_once($board_skin_path.'/write_update.tail.skin.php'); -if ($g4['https_url']) - $https_url = $g4['url'].'/'.$g4['bbs']; -else - $https_url = '.'; if ($file_upload_msg) - alert($file_upload_msg, $https_url.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.'&page='.$page.$qstr); + alert($file_upload_msg, G4_HTTPS_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.'&page='.$page.$qstr); else - goto_url($https_url.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.'&page='.$page.$qstr); + goto_url(G4_HTTPS_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.'&page='.$page.$qstr); ?> diff --git a/skin/member/neo/login.skin.php b/skin/member/neo/login.skin.php index cb6465dce..1c9ca70be 100644 --- a/skin/member/neo/login.skin.php +++ b/skin/member/neo/login.skin.php @@ -31,7 +31,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가