From d855668afd4488359440e8646e7746b68e51049a Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 23 Nov 2016 14:00:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=8B=88=EC=8B=9C=EC=8A=A4=20?= =?UTF-8?q?=EC=8B=A0=EA=B7=9CIDC=20=EC=9D=B4=EC=A0=84=EC=97=90=20=EB=94=B0?= =?UTF-8?q?=EB=A5=B8=20IP=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/inicis/settle_common.php | 2 +- shop/settle_inicis_common.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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; //거래번호