카카오페이 로그 제외 필드키 추가
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user