• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/classes/general/system_information.php
  • Класс: CSecuritySystemInformation
  • Вызов: CSecuritySystemInformation::getMemCachedHosts
static function getMemCachedHosts()
{
	$clusterMemcache = static::getMemCacheInfoFromCluster();
	$nativeMemcache = static::getMemCacheInfoFromConstants();
	if(!empty($clusterMemcache) || !empty($nativeMemcache))
	{
		return array_merge($clusterMemcache, $nativeMemcache);
	}
	else
	{
		return array();
	}
}