diff --git a/adm/shop_admin/configform.php b/adm/shop_admin/configform.php
index 5313b7ab1..36c870ecb 100644
--- a/adm/shop_admin/configform.php
+++ b/adm/shop_admin/configform.php
@@ -405,7 +405,7 @@ include_once (G4_ADMIN_PATH."/admin.head.php");
공통 URL |
=help("가상계좌 사용시 이 주소를 \"KCP 관리자 > 상점정보관리 > 정보변경 > 공통URL 정보 > 공통URL 변경후\"에 넣으셔야 상점에 자동으로 입금 통보됩니다.")?>
- =$g4[shop_url]?>/settle_kcp_common.php
+ =G4_SHOP_URL?>/settle_kcp_common.php
|
@@ -442,8 +442,6 @@ include_once (G4_ADMIN_PATH."/admin.head.php");
-
-
배송정보
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 '
회원정보수정
diff --git a/lib/common.lib.php b/lib/common.lib.php
index defe2e2f6..70ba129a4 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -1429,18 +1429,10 @@ function check_string($str, $options)
// 한글
if ($oc >= 0xA0 && $oc <= 0xFF) {
- if (strtoupper($g4['charset']) == 'UTF-8') {
- if ($options & G4_HANGUL) {
- $s .= $c . $str[$i+1] . $str[$i+2];
- }
- $i+=2;
- } else {
- // 한글은 2바이트 이므로 문자하나를 건너뜀
- $i++;
- if ($options & G4_HANGUL) {
- $s .= $c . $str[$i];
- }
+ if ($options & G4_HANGUL) {
+ $s .= $c . $str[$i+1] . $str[$i+2];
}
+ $i+=2;
}
// 숫자
else if ($oc >= 0x30 && $oc <= 0x39) {
diff --git a/shop/_tail.php b/shop/_tail.php
index 60ad29a83..90772dd85 100644
--- a/shop/_tail.php
+++ b/shop/_tail.php
@@ -1,4 +1,4 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
-include_once(G4_PATH.'/shop.tail.php');
+include_once(G4_SHOP_PATH.'/shop.tail.php');
?>
\ No newline at end of file
diff --git a/shop/kcp/pp_ax_hub.php b/shop/kcp/pp_ax_hub.php
index d88aa454e..f3bdc7940 100644
--- a/shop/kcp/pp_ax_hub.php
+++ b/shop/kcp/pp_ax_hub.php
@@ -233,10 +233,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($res_cd != '0000')
{
- if (strtolower($g4[charset]) == "utf-8")
- {
- $res_msg = iconv("euc-kr", "utf-8", $res_msg);
- }
+ $res_msg = iconv("euc-kr", "utf-8", $res_msg);
echo "