KG이니시스 가상계좌 에스크로 IP 추가
This commit is contained in:
@ -14,10 +14,19 @@ $INIpayLog = false; // 로그를 기록하려면 true 로 수
|
|||||||
|
|
||||||
//**********************************************************************************
|
//**********************************************************************************
|
||||||
|
|
||||||
$PG_IP = get_real_client_ip();
|
$allowed_ips = array(
|
||||||
|
"203.238.37.3", // TX5, TX4
|
||||||
|
"203.238.37.15", // PC가상계좌(노티), 모바일 가상계좌, 에스크로
|
||||||
|
"203.238.37.16", //
|
||||||
|
"203.238.37.25", //
|
||||||
|
"203.238.37.32", // 에스크로
|
||||||
|
"183.109.71.153", // PC가상계좌(노티), 모바일(노티), 에스크로
|
||||||
|
"118.129.210.25", // 모바일(노티)
|
||||||
|
"39.115.212.9" // PC가상계좌(노티)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (in_array($_SERVER['REMOTE_ADDR'], $allowed_ips)) { //PG에서 보냈는지 IP로 체크
|
||||||
|
|
||||||
if( $PG_IP == "203.238.37.3" || $PG_IP == "203.238.37.15" || $PG_IP == "203.238.37.16" || $PG_IP == "203.238.37.25" || $PG_IP == "183.109.71.153" || $PG_IP == "118.129.210.25" || $PG_IP == "39.115.212.9" ) //PG에서 보냈는지 IP로 체크
|
|
||||||
{
|
|
||||||
$msg_id = $msg_id; //메세지 타입
|
$msg_id = $msg_id; //메세지 타입
|
||||||
$no_tid = $no_tid; //거래번호
|
$no_tid = $no_tid; //거래번호
|
||||||
$no_oid = $no_oid; //상점 주문번호
|
$no_oid = $no_oid; //상점 주문번호
|
||||||
|
|||||||
Reference in New Issue
Block a user