• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/application.php
  • Класс: BitrixMainApplication
  • Вызов: Application::resetAccelerator
static function resetAccelerator()
{
	if (defined("BX_NO_ACCELERATOR_RESET"))
		return;

	$fl = ConfigConfiguration::getValue("no_accelerator_reset");
	if ($fl)
		return;

	if (function_exists("accelerator_reset"))
		accelerator_reset();
	elseif (function_exists("wincache_refresh_if_changed"))
		wincache_refresh_if_changed();
}