diff --git a/mobile/shop/inicis/settle_common.php b/mobile/shop/inicis/settle_common.php index 6edb7d189..31a9bc303 100644 --- a/mobile/shop/inicis/settle_common.php +++ b/mobile/shop/inicis/settle_common.php @@ -15,7 +15,7 @@ include_once('./_common.php'); $PGIP = $_SERVER['REMOTE_ADDR']; -if($PGIP == "211.219.96.165" || $PGIP == "118.129.210.25") //PG에서 보냈는지 IP로 체크 +if($PGIP == "211.219.96.165" || $PGIP == "118.129.210.25" || $PGIP == "183.109.71.153") //PG에서 보냈는지 IP로 체크 { // 이니시스 NOTI 서버에서 받은 Value diff --git a/shop/settle_inicis_common.php b/shop/settle_inicis_common.php index d4a12428f..807cd69ce 100644 --- a/shop/settle_inicis_common.php +++ b/shop/settle_inicis_common.php @@ -14,10 +14,9 @@ $INIpayLog = false; // 로그를 기록하려면 true 로 수 //********************************************************************************** -$TEMP_IP = getenv("REMOTE_ADDR"); -$PG_IP = substr($TEMP_IP,0, 10); +$PG_IP = $_SERVER['REMOTE_ADDR']; -if( $PG_IP == "203.238.37" || $PG_IP == "210.98.138" ) //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 == "39.115.212.9" ) //PG에서 보냈는지 IP로 체크 { $msg_id = $msg_id; //메세지 타입 $no_tid = $no_tid; //거래번호