• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/classes/general/tests/environment.php
  • Класс: CSecurityEnvironmentTest
  • Вызов: CSecurityEnvironmentTest::doRequestToLocalhost
static function doRequestToLocalhost($pPath)
{
	$url = self::getCurrentSiteUrl();
	$url .= $pPath;
	$url .= "?".mt_rand(); //Prevent web-server cache
	return @CHTTP::sGet($url);
}