NHN KCP 본인확인 v2 설정 안내 보완
This commit is contained in:
1 parent
16a8dca6f7
commit
5374fb5f74
2 files changed
+13
-10
No files matched your search
@@ -2,7 +2,7 @@
|
||||
if (!defined('_GNUBOARD_')) exit;
|
||||
|
||||
if (version_compare(PHP_VERSION, '7.0.0', '<')) {
|
||||
alert('KCP 휴대폰 본인확인 V2 모듈은 PHP 7.0 이상 환경에서만 동작합니다.\n관리자 > 기본환경설정에서 V1 모듈을 선택해 주세요.', G5_URL);
|
||||
alert('KCP 휴대폰 본인확인 V2 모듈은 PHP 7.0 이상 환경에서만 동작합니다.', G5_URL);
|
||||
}
|
||||
if (!extension_loaded('openssl') || !function_exists('hash_pbkdf2') || !extension_loaded('curl')) {
|
||||
alert('KCP 휴대폰 본인확인 V2 모듈에 필요한 PHP 확장(openssl/curl/hash_pbkdf2)이 활성화되어 있지 않습니다.', G5_URL);
|
||||
@@ -11,10 +11,7 @@ if (!extension_loaded('openssl') || !function_exists('hash_pbkdf2') || !extensio
|
||||
$web_siteid = '';
|
||||
|
||||
if ($config['cf_cert_use'] == 2) {
|
||||
$site_cd = isset($config['cf_cert_kcp_cd']) ? trim($config['cf_cert_kcp_cd']) : '';
|
||||
if (strlen($site_cd) === 3) {
|
||||
$site_cd = 'SM'.$site_cd;
|
||||
}
|
||||
$site_cd = 'SM'.trim($config['cf_cert_kcp_cd']);
|
||||
$kcp_enc_key = isset($config['cf_cert_kcp_enckey']) ? $config['cf_cert_kcp_enckey'] : '';
|
||||
$cert_reg_url = 'https://cert.kcp.co.kr/api/reg/certDataReg.do';
|
||||
$cert_dec_url = 'https://cert.kcp.co.kr/api/query/getCertData.do';
|
||||
|
||||
Reference in new issue
Block a user