g4s 머지 후 충돌 코드 수정
This commit is contained in:
@ -5,13 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true);
|
||||
if ($msg = exist_mb_hp($mb_hp, $mb_id)) alert($msg, "", true, true);
|
||||
|
||||
$reg_hp = preg_replace("/[^0-9]/", "", $mb_hp);
|
||||
$hp_len = strlen($reg_hp);
|
||||
|
||||
if($hp_len == 10)
|
||||
$reg_mb_hp = preg_replace("/([0-9]{3})([0-9]{3})([0-9]{4})/", "\\1-\\2-\\3", $reg_hp);
|
||||
else if($hp_len == 11)
|
||||
$reg_mb_hp = preg_replace("/([0-9]{3})([0-9]{4})([0-9]{4})/", "\\1-\\2-\\3", $reg_hp);
|
||||
$reg_hp = hyphen_hp_number($mb_hp);
|
||||
|
||||
/* ======================================================================================================= */
|
||||
/* = 휴대폰인증 및 성인인증 = */
|
||||
|
||||
@ -1,26 +1,17 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// /home/kcpcert_enc ( 서버상 bin 폴더 이전까지 경로)
|
||||
$home_dir = G4_PLUGIN_PATH.'/kcp'; // ct_cli 절대경로 ( bin 전까지 )
|
||||
// 서버상 bin 폴더 이전까지 경로
|
||||
$home_dir = G4_KCP_PATH; // ct_cli 절대경로 ( bin 전까지 )
|
||||
|
||||
// DI 를 위한 중복확인 식별 아이디
|
||||
//web_siteid 값이 없으면 KCP 에서 지정한 값으로 설정됨
|
||||
$web_siteid = '';
|
||||
|
||||
/*
|
||||
if($config['cf_kcpcert_site_cd'] && $config['cf_kcpcert_site_cd'] != 'S6186') { // 실인증
|
||||
$site_cd = $config['cf_kcpcert_site_cd'];
|
||||
$cert_url = 'https://cert.kcp.co.kr/kcp_cert/cert_view.jsp';
|
||||
} else { // 테스트인증
|
||||
$site_cd = 'S6186';
|
||||
$cert_url = 'https://testcert.kcp.co.kr/kcp_cert/cert_view.jsp';
|
||||
}
|
||||
*/
|
||||
if ($config['cf_kcpcert_use'] == 1) { // 실서비스
|
||||
if ($config['cf_kcpcert_use'] == 'service') { // 실서비스
|
||||
$site_cd = 'SM'.$config['cf_kcpcert_site_cd'];
|
||||
$cert_url = 'https://cert.kcp.co.kr/kcp_cert/cert_view.jsp';
|
||||
} else if ($config['cf_kcpcert_use'] == -1) { // 테스트사용
|
||||
} else if ($config['cf_kcpcert_use'] == 'test') { // 테스트사용
|
||||
$site_cd = 'S6186';
|
||||
$cert_url = 'https://testcert.kcp.co.kr/kcp_cert/cert_view.jsp';
|
||||
} else { // 사용안함
|
||||
|
||||
@ -163,13 +163,7 @@ else if( $cert_enc_use != "Y" )
|
||||
$ct_cert->mf_clear();
|
||||
|
||||
// 휴대폰번호 포맷변경
|
||||
$phone_no = preg_replace("/[^0-9]/", "", $phone_no);
|
||||
$hp_len = strlen($phone_no);
|
||||
|
||||
if($hp_len == 10)
|
||||
$phone_no = preg_replace("/([0-9]{3})([0-9]{3})([0-9]{4})/", "\\1-\\2-\\3", $phone_no);
|
||||
else if($hp_len == 11)
|
||||
$phone_no = preg_replace("/([0-9]{3})([0-9]{4})([0-9]{4})/", "\\1-\\2-\\3", $phone_no);
|
||||
$phone_no = hyphen_hp_number($phone_no);
|
||||
?>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user