1
0
mirror of synced 2024-11-29 08:46:09 +03:00

Fix catalog

This commit is contained in:
Akolzin Dmitry 2018-10-25 10:35:15 +03:00
parent 4e244d9791
commit 35ea2532f2

View File

@ -74,7 +74,7 @@ class RetailCrmICML
$defaultSite = CSite::GetList($by = "def", $order = "desc", array('DEF' => 'Y'))->Fetch(); $defaultSite = CSite::GetList($by = "def", $order = "desc", array('DEF' => 'Y'))->Fetch();
$this->encodingDefault = $defaultSite["CHARSET"]; $this->encodingDefault = $defaultSite["CHARSET"];
$url = 'https://' . $this->serverName; $url = 'https://' . $this->defaultServerName;
$curlHandler = curl_init(); $curlHandler = curl_init();
curl_setopt($curlHandler, CURLOPT_URL, $url); curl_setopt($curlHandler, CURLOPT_URL, $url);
$responseBody = curl_exec($curlHandler); $responseBody = curl_exec($curlHandler);