Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
모바일 kcp 로그 생성 경로 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Dec 9, 2015
1 parent 08cea4d commit acd23ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions mobile/shop/kcp/pp_ax_hub_lib.php
Expand Up @@ -216,6 +216,7 @@ function mf_do_tx( $trace_no, $home_dir, $site_cd,
"enc_info=" . $this->m_encx_info . "," .
"trace_no=" . $trace_no . "," .
"cust_ip=" . $cust_ip . "," .
"log_path=" . $log_dir . "," .
"log_level=" . $log_level . "," .
"opt=" . $opt . "" );
}
Expand Down
11 changes: 10 additions & 1 deletion mobile/shop/settle_kcp.inc.php
Expand Up @@ -7,9 +7,18 @@
$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';
}

Expand Down

0 comments on commit acd23ee

Please sign in to comment.