Merge branch 'inicert' of github.com:gnuboard/gnuboard5 into inicert

This commit is contained in:
kagla
2021-10-01 02:39:59 +00:00
103 changed files with 4013 additions and 1281 deletions

View File

@ -284,8 +284,10 @@ if( ! class_exists('XenoPostToForm') ){
if( !function_exists('shop_check_is_pay_page') ){
function shop_check_is_pay_page(){
$shop_dir = 'shop';
$plugin_dir = 'plugin';
$mobile_dir = G5_MOBILE_DIR;
// PG 결제사의 리턴페이지 목록들
$pg_checks_pages = array(
$shop_dir.'/inicis/INIStdPayReturn.php', // 영카트 5.2.9.5 이하에서 사용됨, 그 이상버전에서는 파일 삭제됨
@ -297,6 +299,8 @@ if( !function_exists('shop_check_is_pay_page') ){
$mobile_dir.'/'.$shop_dir.'/lg/xpay_approval.php',
$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']);
@ -791,6 +795,12 @@ if(!empty($extend_file) && is_array($extend_file)) {
}
unset($extend_file);
if(!$is_admin && $is_member && (!defined("G5_CERT_IN_PROG") || !G5_CERT_IN_PROG) && $config['cf_cert_use'] <> 0 && $config['cf_cert_req']) { // 본인인증이 필수일때
if ((empty($member['mb_certify']) || (!empty($member['mb_certify']) && strlen($member['mb_dupinfo']) == 64))) { // di로 인증되어 있거나 본인인증이 안된 계정일때
goto_url(G5_BBS_URL."/member_cert_refresh.php");
}
}
ob_start();
// 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면