• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/site_checker.php
  • Класс: CSiteCheckerTest
  • Вызов: CSiteCheckerTest::check_security
function check_security()
{
	$strError = '';
	if (function_exists('apache_get_modules'))
	{
		$arLoaded = apache_get_modules();
		if (in_array('mod_security', $arLoaded))
			$strError .= GetMessage('SC_WARN_SECURITY')."
"; if (in_array('mod_dav', $arLoaded) || in_array('mod_dav_fs', $arLoaded)) $strError .= GetMessage('SC_WARN_DAV')."
"; } if ($strError) return $this->Result(null, $strError); return $this->Result(true, GetMessage("MAIN_SC_NO_CONFLICT")); }