• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/composite/engine.php
  • Класс: BitrixMainCompositeEngine
  • Вызов: Engine::checkAdminPanel
static function checkAdminPanel()
{
	if (
		$GLOBALS["APPLICATION"]->showPanelWasInvoked === true &&
		self::getUseHTMLCache() &&
		!self::isAjaxRequest() &&
		CTopPanel::shouldShowPanel()
	)
	{
		self::setEnable(false);

		Logger::log(
			array(
				"TYPE" => Logger::TYPE_ADMIN_PANEL,
			)
		);
	}
}