통합인증 : php8버전 관련 에러 수정, 재인증시 성명도 갱신되게 쿼리 추가
This commit is contained in:
@ -7,9 +7,11 @@ if (!($w == '' || $w == 'u')) {
|
||||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
}
|
||||
|
||||
if($w == '')
|
||||
if($w == '') {
|
||||
$mb_id = isset($_POST['mb_id']) ? trim($_POST['mb_id']) : '';
|
||||
else
|
||||
$mb_name = isset($_POST['mb_name']) ? trim($_POST['mb_name']) : '';
|
||||
$mb_hp = isset($_POST['mb_hp']) ? trim($_POST['mb_hp']) : '';
|
||||
} else
|
||||
alert('잘못된 접근입니다', G5_URL);
|
||||
|
||||
if(!$mb_id)
|
||||
@ -41,8 +43,7 @@ if ($config['cf_cert_use'] && $cert_type && $md5_cert_no) {
|
||||
$sql_certify .= " , mb_birth = '".get_session('ss_cert_birth')."' ";
|
||||
$sql_certify .= " , mb_sex = '".get_session('ss_cert_sex')."' ";
|
||||
$sql_certify .= " , mb_dupinfo = '".get_session('ss_cert_dupinfo')."' ";
|
||||
if($w == 'u')
|
||||
$sql_certify .= " , mb_name = '{$mb_name}' ";
|
||||
$sql_certify .= " , mb_name = '{$mb_name}' ";
|
||||
} else {
|
||||
$sql_certify .= " mb_hp = '{$mb_hp}' ";
|
||||
$sql_certify .= " , mb_certify = '' ";
|
||||
|
||||
@ -300,6 +300,7 @@ if( !function_exists('shop_check_is_pay_page') ){
|
||||
$mobile_dir.'/'.$shop_dir.'/kcp/order_approval_form.php',
|
||||
$shop_dir.'/kakaopay/inicis_kk_return.php', // 이니시스 카카오페이 (SIRK 로 시작하는 아이디 전용)
|
||||
$plugin_dir."/kgcert/kg_result.php", // 이니시스 통합인증 모듈 2021-09-10 http <-> https 간 세션 공유 문제로 인해 추가
|
||||
$plugin_dir."/kgcert/kg_find_result.php", // 이니시스 통합인증 모듈 2021-09-10 http <-> https 간 세션 공유 문제로 인해 추가
|
||||
);
|
||||
|
||||
$server_script_name = str_replace('\\', '/', $_SERVER['SCRIPT_NAME']);
|
||||
|
||||
@ -26,6 +26,12 @@
|
||||
|
||||
$flgFixedUser = (!empty($member['mb_id']) && !empty($member['mb_name']) && !empty($member['mb_hp']) && !empty($member['mb_birth']))? 'Y' : 'N'; // 특정사용자 고정시 : Y 세팅및 아래 해시 데이터 생성
|
||||
|
||||
// php8버전 값체크 경고 때문에 필수값이 아닌 값이 없을수 있는 선택값들은 선언해주어야함
|
||||
$userName = '';
|
||||
$userPhone = '';
|
||||
$userBirth = '';
|
||||
$userHash = '';
|
||||
|
||||
if($flgFixedUser == 'Y') {
|
||||
$userName = $member['mb_name']; // 사용자 이름
|
||||
$userPhone = preg_replace("/-/","" , $member['mb_hp']); // 사용자 전화번호 하이픈만 제거
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['mb_id']) {
|
||||
if (!empty($row['mb_id'])) {
|
||||
alert_close("입력하신 본인확인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
}
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
}
|
||||
|
||||
$g5['title'] = 'KG이니시스 통합인증 결과';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
?>
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
|
||||
Reference in New Issue
Block a user