g4를 g5로 변경
This commit is contained in:
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
certify_count_check($member['mb_id'], 'hp');
|
||||
|
||||
// 서버상 bin 폴더 이전까지 경로
|
||||
$home_dir = G4_KCPCERT_PATH; // ct_cli 절대경로 ( bin 전까지 )
|
||||
$home_dir = G5_KCPCERT_PATH; // ct_cli 절대경로 ( bin 전까지 )
|
||||
|
||||
// DI 를 위한 중복확인 식별 아이디
|
||||
//web_siteid 값이 없으면 KCP 에서 지정한 값으로 설정됨
|
||||
@ -23,10 +23,10 @@ if ($config['cf_cert_use'] == 2) { // 실서비스
|
||||
}
|
||||
|
||||
if(!$site_cd)
|
||||
alert('KCP 휴대폰 본인확인 서비스 사이트코드가 없습니다.\\관리자 > 기본환경설정에 KCP 사이트코드를 입력해 주십시오.', G4_URL);
|
||||
alert('KCP 휴대폰 본인확인 서비스 사이트코드가 없습니다.\\관리자 > 기본환경설정에 KCP 사이트코드를 입력해 주십시오.', G5_URL);
|
||||
|
||||
// KCP 인증 라이브러리
|
||||
require G4_KCPCERT_PATH.'/lib/ct_cli_lib.php';
|
||||
require G5_KCPCERT_PATH.'/lib/ct_cli_lib.php';
|
||||
|
||||
/* ============================================================================== */
|
||||
/* = null 값을 처리하는 메소드 = */
|
||||
|
||||
@ -5,7 +5,7 @@ include_once('./_common.php');
|
||||
certify_count_check($member['mb_id'], 'hp');
|
||||
|
||||
// kcp 휴대폰인증파일
|
||||
include_once(G4_KCPCERT_PATH.'/kcpcert_config.php');
|
||||
include_once(G5_KCPCERT_PATH.'/kcpcert_config.php');
|
||||
|
||||
$ordr_idxx = get_session('ss_uniqid');
|
||||
if(!$ordr_idxx)
|
||||
@ -30,7 +30,7 @@ if(!$ordr_idxx)
|
||||
<!-- 사이트코드 -->
|
||||
<input type="hidden" name="site_cd" value="<?php echo $site_cd; ?>" />
|
||||
<!-- Ret_URL : 인증결과 리턴 페이지 ( 가맹점 URL 로 설정해 주셔야 합니다. ) -->
|
||||
<input type="hidden" name="Ret_URL" value="<?php echo G4_KCPCERT_URL; ?>/kcpcert_result.php" />
|
||||
<input type="hidden" name="Ret_URL" value="<?php echo G5_KCPCERT_URL; ?>/kcpcert_result.php" />
|
||||
<!-- cert_otp_use 필수 ( 메뉴얼 참고)
|
||||
Y : 실명 확인 + OTP 점유 확인 , N : 실명 확인 only
|
||||
-->
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_KCPCERT_PATH.'/kcpcert_config.php');
|
||||
include_once(G5_KCPCERT_PATH.'/kcpcert_config.php');
|
||||
|
||||
$site_cd = "";
|
||||
$ordr_idxx = "";
|
||||
@ -81,8 +81,8 @@ $ct_cert = new C_CT_CLI;
|
||||
$ct_cert->mf_clear();
|
||||
|
||||
|
||||
$g4['title'] = '휴대폰인증 결과';
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
$g5['title'] = '휴대폰인증 결과';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
// 결과 처리
|
||||
|
||||
@ -135,7 +135,7 @@ if( $cert_enc_use == "Y" )
|
||||
|
||||
$phone_no = hyphen_hp_number($phone_no);
|
||||
|
||||
$sql = " select mb_id from {$g4['member_table']} where mb_id <> '{$member['mb_id']}' and mb_hp = '{$phone_no}' ";
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_hp = '{$phone_no}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['mb_id']) {
|
||||
alert_close("이미 가입되어 있는 휴대폰번호 입니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
@ -147,7 +147,7 @@ if( $cert_enc_use == "Y" )
|
||||
$hash_data = md5($user_name.$cert_type.$birth_day.$md5_cert_no);
|
||||
|
||||
// 성인인증결과
|
||||
$adult_day = date("Ymd", strtotime("-19 years", G4_SERVER_TIME));
|
||||
$adult_day = date("Ymd", strtotime("-19 years", G5_SERVER_TIME));
|
||||
$adult = ((int)$birth_day <= (int)$adult_day) ? 1 : 0;
|
||||
|
||||
set_session("ss_cert_type", $cert_type);
|
||||
@ -187,5 +187,5 @@ $(function() {
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
include_once(G5_PATH.'/tail.sub.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user