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/cvetdv.ru/bitrix/modules/main/include/ |
Upload File : |
<?php /** * Bitrix Framework * @package bitrix * @subpackage main * @copyright 2001-2013 Bitrix */ /** * Bitrix vars * @global CUser $USER * @global CMain $APPLICATION * @global CDatabase $DB */ define("START_EXEC_EPILOG_AFTER_1", microtime(true)); $GLOBALS["BX_STATE"] = "EA"; global $USER, $APPLICATION, $DB; foreach(GetModuleEvents("main", "OnEpilog", true) as $arEvent) ExecuteModuleEventEx($arEvent); if(!defined("ADMIN_AJAX_MODE") && (($_REQUEST["mode"] ?? '') != 'excel')) { //it's possible the method doesn't exist on update $session = null; $application = \Bitrix\Main\Application::getInstance(); if(method_exists($application, 'getKernelSession')) { $session = $application->getKernelSession(); } $canEditPHP = $USER->CanDoOperation('edit_php'); $bShowTime = ($session && $session["SESS_SHOW_TIME_EXEC"] == 'Y'); $bShowStat = ($DB->ShowSqlStat && $canEditPHP); $bShowCacheStat = (\Bitrix\Main\Data\Cache::getShowCacheStat() && ($canEditPHP || ($session && $session["SHOW_CACHE_STAT"] == "Y"))); } $buffer = $APPLICATION->EndBufferContentMan(); //used in debug_info.php $main_exec_time = round((microtime(true)-START_EXEC_TIME), 4); if(!defined("ADMIN_AJAX_MODE") && (($_REQUEST["mode"] ?? '') != 'excel')) { if($bShowTime || $bShowStat || $bShowCacheStat) { ob_start(); include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/interface/debug_info.php"); $buffer .= ob_get_clean(); } } CMain::FinalActions($buffer);