• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/classes/general/system_information.php
  • Класс: CSecuritySystemInformation
  • Вызов: CSecuritySystemInformation::getDbInfo
static function getDbInfo()
{
	global $DB;
	$result = array(
		"type"    => $DB->type,
		"version" => $DB->GetVersion(),
		"hosts"   => static::getDBHosts()
	);
	return $result;
}