From 5844d1685d79413666b436c0d795e36d91f9d09f Mon Sep 17 00:00:00 2001 From: merelendor Date: Fri, 12 Dec 2025 18:03:23 +0300 Subject: [PATCH] move API host to constaint defined in dbconn.php --- local/ilsa.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/ilsa.php b/local/ilsa.php index cd7297d..17e4e58 100644 --- a/local/ilsa.php +++ b/local/ilsa.php @@ -226,7 +226,7 @@ print_r($bitrix_modifications); $c = 0; foreach($json AS $car) { - $modification_content = file_get_contents("https://web-api.evoleasing.ru:8443/site/Vehicle/GetCatalog?id=". $car['uid'] ."", false, stream_context_create($arrContextOptions)); + $modification_content = file_get_contents(API_HOST."/site/Vehicle/GetCatalog?id=". $car['uid'] ."", false, stream_context_create($arrContextOptions)); $modification_json = json_decode($modification_content, true); $name = "".$car['brand']['name']." ".$car['model']['name']." ".$car['modification']."";