HTTPS 경로 수정중

This commit is contained in:
gnuboard
2013-02-01 13:48:09 +09:00
parent 51253daf0d
commit f734abb143
6 changed files with 7 additions and 23 deletions

View File

@ -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;

View File

@ -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');

View File

@ -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');

View File

@ -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');

View File

@ -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);
?>

View File

@ -31,7 +31,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</section>
<div class="btn_confirm">
<a href="<?=$g4['url']?>/">메인으로 돌아가기</a>
<a href="<?=G4_URL?>/">메인으로 돌아가기</a>
</div>
</form>