Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/info-helper/ |
Upload File : |
<?php use Bitrix\Main\Loader; use Bitrix\UI\FeaturePromoter; if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } $isCloud = Loader::includeModule('bitrix24'); $isCP = Loader::includeModule('intranet'); return [ 'css' => 'dist/info-helper.bundle.css', 'js' => 'dist/info-helper.bundle.js', 'rel' => [ 'main.loader', 'ui.info-helper', 'ui.popup-with-header', 'ui.analytics', 'main.core', ], 'skip_core' => false, 'settings' => [ 'popupProviderEnabled' => (new FeaturePromoter\PopupProviderAvailabilityChecker())->isAvailable(), 'licenseType' => $isCloud ? strtoupper(\CBitrix24::getLicenseType()) : null, 'region' => \Bitrix\Main\Application::getInstance()->getLicense()->getRegion() ?? 'en', 'licenseNeverPayed' => $isCloud && \CBitrix24::isLicenseNeverPayed(), 'marketUrl' => $isCP ? \Bitrix\Intranet\Binding\Marketplace::getMainDirectory() : false, 'settingsUrl' => $isCP ? \Bitrix\Intranet\PortalSettings::getInstance()->getSettingsUrl() : '/settings/configs/', 'isUpgradeTariffAvailable' => $isCloud && \CBitrix24::getPromoLicense(), ], ];