This commit is contained in:
root
2025-11-13 19:52:28 +03:00
parent 8aeeb05b7d
commit 807dec3b6c
4646 changed files with 163445 additions and 626017 deletions

View File

@@ -1,5 +1,22 @@
<?php
$urlProviderTechDomain = (new \Bitrix\Main\License\UrlProvider())->getTechDomain();
if (\Bitrix\Main\Application::getInstance()->getLicense()->isCis())
{
$locationOsmServiceUrl = 'https://osm-ru-002.' . $urlProviderTechDomain;
$locationOsmMapServiceUrl = 'https://osm-ru-001.' . $urlProviderTechDomain;
}
else
{
$locationOsmServiceUrl = 'https://osm-de-002.' . $urlProviderTechDomain;
$locationOsmMapServiceUrl = 'https://osm-de-001.' . $urlProviderTechDomain;
}
$location_default_option = [
'log_level' => 400 // Error
'log_level' => 400, // Error
'osm_service_url' => $locationOsmServiceUrl,
'osm_map_service_url' => $locationOsmMapServiceUrl,
];
unset($urlProviderTechDomain, $locationOsmServiceUrl, $locationOsmMapServiceUrl);