• Модуль: scale
  • Путь к файлу: ~/bitrix/modules/scale/lib/serversdata.php
  • Класс: BitrixScaleServersData
  • Вызов: ServersData::getBxEnvVer
static function getBxEnvVer($hostname)
{
	if($hostname == '')
		throw new BitrixMainArgumentNullException("hostname");

	$bxInfo = static::getBxInfo($hostname);

	if(isset($bxInfo["bx_version"])
		&& $bxInfo["bx_version"] != "0"
	)
	{
		$result = $bxInfo["bx_version"];
	}
	else
	{
		$result = false;
	}

	return $result;
}