diff --git a/shop/inicis/libs/HttpClient.php b/shop/inicis/libs/HttpClient.php index 2179eb82e..ac162a16e 100644 --- a/shop/inicis/libs/HttpClient.php +++ b/shop/inicis/libs/HttpClient.php @@ -32,10 +32,11 @@ class HttpClient { $data = substr($data, 1); // remove leading "&" $url_data = parse_url($url); - // host 가 inicis.com 의 주소가 아니라면 false 반환 - // [scheme] => https, [host] => fcstdpay.inicis.com, [path] => /api/payAuth - if (preg_match("#inicis\.com$#", $url_data["host"]) == false) { - // error_log(print_r($url_data, 1)); + // host 가 .inicis.com 의 주소가 아니라면 false 반환 + // [scheme] => https + // [host] => fcstdpay.inicis.com || stdpay.inicis.com || ksstdpay.inicis.com + // [path] => /api/payAuth + if (preg_match("#\.inicis\.com$#", $url_data["host"]) == false) { return false; }