Elgg  Version 4.3
redis.php File Reference

Go to the source code of this file.


 $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)

Variable Documentation

foreach ($servers as $server) $password = elgg_extract('password', elgg_get_config('redis_options'))

Definition at line 18 of file redis.php.

if (!elgg_get_config('redis')||empty($servers)||!\Elgg\Cache\CompositeCache::isRedisAvailable()) $redis = new Redis()

Definition at line 12 of file redis.php.

$rows = []

Definition at line 25 of file redis.php.

$servers = elgg_get_config('redis_servers')

Redis info.

Definition at line 5 of file redis.php.

if (!empty($password)) $stats = $redis->info()

Definition at line 23 of file redis.php.

foreach($stats as $key=> $value)

Definition at line 27 of file redis.php.