• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/classes/general/system_information.php
  • Класс: CSecuritySystemInformation
  • Вызов: CSecuritySystemInformation::getMemCacheInfoFromConstants
static function getMemCacheInfoFromConstants()
{
	$result = array();
	if(defined('BX_MEMCACHE_HOST'))
		$result["host"] = BX_MEMCACHE_HOST;

	if(defined('BX_MEMCACHE_PORT'))
		$result["port"] = BX_MEMCACHE_PORT;

	if(!empty($result))
	{
		return array($result);
	}
	else
	{
		return array();
	}
}