모바일 kcp 로그 생성 경로 설정 수정

This commit is contained in:
chicpro
2015-12-08 17:01:39 +09:00
parent ac82a8b8d6
commit bc16c9fc04
2 changed files with 11 additions and 1 deletions

View File

@ -216,6 +216,7 @@
"enc_info=" . $this->m_encx_info . "," .
"trace_no=" . $trace_no . "," .
"cust_ip=" . $cust_ip . "," .
"log_path=" . $log_dir . "," .
"log_level=" . $log_level . "," .
"opt=" . $opt . "" );
}

View File

@ -7,9 +7,18 @@ $g_conf_log_level = '3'; // 변경불가
$g_conf_gw_port = '8090'; // 포트번호(변경불가)
$g_conf_key_dir = '';
/*=======================================================================
KCP 결제처리 로그파일 생성을 위한 로그 디렉토리 절대 경로를 지정합니다.
로그 파일의 경로는 웹에서 접근할 수 없는 경로를 지정해 주십시오.
영카트5의 config.php 파일이 존재하는 경로가 /home/youngcart5/www 라면
로그 디렉토리는 /home/youngcart5/log 등으로 지정하셔야 합니다.
로그 디렉토리에 쓰기 권한이 있어야 로그 파일이 생성됩니다.
=======================================================================*/
$g_conf_log_dir = '/home100/kcp'; // 존재하지 않는 경로를 입력하여 로그 파일 생성되지 않도록 함.
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
{
$g_conf_log_dir = G5_SHOP_PATH.'/kcp/log';
$g_conf_key_dir = G5_SHOP_PATH.'/kcp/bin/pub.key';
}