diff --git a/common.php b/common.php index 9f512e330..2eb83a252 100644 --- a/common.php +++ b/common.php @@ -792,7 +792,7 @@ if(!empty($extend_file) && is_array($extend_file)) { } unset($extend_file); -if(!$is_admin && $is_member && !G5_CERT_IN_PROG && $config['cf_cert_use'] <> 0 && $config['cf_cert_req']) { // 본인인증이 필수일때 +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"); } diff --git a/config.php b/config.php index d92d16f27..24ab316bf 100644 --- a/config.php +++ b/config.php @@ -135,7 +135,7 @@ define('G5_PHPMAILER_PATH', G5_PLUGIN_PATH.'/'.G5_PHPMAILER_DIR); //------------------------------------------------------------------------------ define('G5_SET_DEVICE', 'both'); -define('G5_CERT_IN_PROG', false); // 재인증페이지 리디렉션 사용여부 +// define('G5_CERT_IN_PROG', false); // 재인증페이지 리디렉션 사용여부 define('G5_USE_MOBILE', true); // 모바일 홈페이지를 사용하지 않을 경우 false 로 설정 define('G5_USE_CACHE', true); // 최신글등에 cache 기능 사용 여부 diff --git a/plugin/kgcert/kg_request.php b/plugin/kgcert/kg_request.php index a754a7495..f401d95f4 100644 --- a/plugin/kgcert/kg_request.php +++ b/plugin/kgcert/kg_request.php @@ -1,7 +1,6 @@ diff --git a/plugin/kgcert/kg_result.php b/plugin/kgcert/kg_result.php index 3faf884f4..56500ef7b 100644 --- a/plugin/kgcert/kg_result.php +++ b/plugin/kgcert/kg_result.php @@ -30,7 +30,7 @@ // echo '<결과내역>'." '{$mid}'

"; // echo $response; - if($res_data['resultCode'] == "0000") { + if($res_data['resultCode'] === "0000") { @insert_cert_history($member['mb_id'], 'kg', 'sa'); // 인증성공 시 내역 기록