Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/gadgets/bitrix/admin_perfmon/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/gadgets/bitrix/admin_perfmon/.description.php |
<?php if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); $aGlobalOpt = CUserOptions::GetOption("global", "settings", array()); $messagePerfMon = (string)($aGlobalOpt['messages']['perfmon'] ?? 'Y'); $bShowPerfmon = ( file_exists($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/install/index.php") && $messagePerfMon !== 'N' ); $arDescription = array( "DISABLED" => !$bShowPerfmon, "NAME" => GetMessage("GD_PERFMON_NAME"), "DESCRIPTION" => GetMessage("GD_PERFMON_DESC"), "ICON" => "", "TITLE_ICON_CLASS" => "bx-gadgets-perfmon", "GROUP" => array("ID"=>"admin_settings"), "NOPARAMS" => "Y", "AI_ONLY" => true, "COLOURFUL" => true, "UNIQUE" => true, );