From 070cdf999a96e7241fea0068ea5161b6669efbf5 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 23 Sep 2015 15:32:51 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B9=B4=EC=B9=B4=EC=98=A4=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=20=EB=A1=9C=EA=B7=B8=20=EC=A0=9C=EC=99=B8=20=ED=95=84=EB=93=9C?= =?UTF-8?q?=ED=82=A4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/kakaopay/lgcns_CNSpay.php | 5 ++++- shop/orderformupdate.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shop/kakaopay/lgcns_CNSpay.php b/shop/kakaopay/lgcns_CNSpay.php index 80ebbf25f..2812e2ea5 100644 --- a/shop/kakaopay/lgcns_CNSpay.php +++ b/shop/kakaopay/lgcns_CNSpay.php @@ -395,13 +395,16 @@ } public function writeLog($strLogText) { $log_string = ""; - $exclude = array('MID', 'merchantEncKey', 'merchantHashKey', 'CancelPwd'); + $exclude = array('MID', 'merchantEncKey', 'merchantHashKey', 'CancelPwd', 'site_cd', 'def_site_cd', 'CST_MID', 'LGD_MID'); if (is_array($strLogText)) { $log_string = "[".date("Y/m/d H:i:s")."] \r\n"; foreach (array_keys($strLogText) as $key) { if(in_array($key, $exclude)) continue; + if(preg_match('#^od_.+$#', $key)) + continue; + $log_string = $log_string." [".$key."] => ".$strLogText[$key]."\r\n"; } } else { diff --git a/shop/orderformupdate.php b/shop/orderformupdate.php index 7447ba0b0..823423441 100644 --- a/shop/orderformupdate.php +++ b/shop/orderformupdate.php @@ -2,7 +2,7 @@ include_once('./_common.php'); include_once(G5_LIB_PATH.'/mailer.lib.php'); -if($od_settle_case != '무통장' && $default['de_pg_service'] == 'lg' && !$_POST['LGD_PAYKEY']) +if(($od_settle_case != '무통장' && $od_settle_case != 'KAKAOPAY') && $default['de_pg_service'] == 'lg' && !$_POST['LGD_PAYKEY']) alert('결제등록 요청 후 주문해 주십시오.'); // 장바구니가 비어있는가?