kcp 휴대폰인증 리눅스 64비트 실행 환경 추가

This commit is contained in:
chicpro
2014-11-10 16:43:34 +09:00
parent 3857ab22d3
commit 2cf6a67a53
5 changed files with 19 additions and 6 deletions

View File

@ -1282,7 +1282,10 @@ if($config['cf_cert_use']) {
// kcp일 때
if($config['cf_cert_hp'] == 'kcp') {
$exe = G5_KCPCERT_PATH.'/bin/ct_cli';
if(PHP_INT_MAX == 2147483647) // 32-bit
$exe = G5_KCPCERT_PATH . '/bin/ct_cli';
else
$exe = G5_KCPCERT_PATH . '/bin/ct_cli_x64';
echo module_exec_check($exe, 'ct_cli');
}