Elgg
Version 6.0
|
Go to the source code of this file.
Variables | |
$servers = elgg_get_config('redis_servers') | |
Redis info. More... | |
if(!elgg_get_config('redis')||empty($servers)||!\Elgg\Cache\CompositeCache::isRedisAvailable()) | $redis = new Redis() |
foreach($servers as $server) | $password = elgg_extract('password', elgg_get_config('redis_options')) |
if(!empty($password)) | $stats = $redis->info() |
$rows = [] | |
foreach ($stats as $key=> $value) | |
foreach ($servers as $server) $password = elgg_extract('password', elgg_get_config('redis_options')) |
if (!elgg_get_config('redis')||empty($servers)||!\Elgg\Cache\CompositeCache::isRedisAvailable()) $redis = new Redis() |
$servers = elgg_get_config('redis_servers') |