Elgg  Version 6.2
Variables
redis.php File Reference

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)
 

Variable Documentation

◆ $password

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

Definition at line 18 of file redis.php.

◆ $redis

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

Definition at line 12 of file redis.php.

◆ $rows

$rows = []

Definition at line 25 of file redis.php.

◆ $servers

$servers = elgg_get_config('redis_servers')

Redis info.

Definition at line 5 of file redis.php.

◆ $stats

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

Definition at line 23 of file redis.php.

◆ foreach

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

Definition at line 27 of file redis.php.