diff options
| author | Michael <savetheinternet@tinyboard.org> | 2013-01-27 21:32:28 -0800 |
|---|---|---|
| committer | Michael <savetheinternet@tinyboard.org> | 2013-01-27 21:32:28 -0800 |
| commit | fd33e9eba1e72fd4ee5f064944e9592be66c12c1 (patch) | |
| tree | 8881262f81202ee5d112a180752969ae0455b7ed /inc/config.php | |
| parent | f07e1564ae7a086e96bfc9d8d1176d9b510c0752 (diff) | |
| parent | 970b6e83764fd3fd8f16af80a643647602067d9a (diff) | |
Merge pull request #96 from Macil/redis
Add Redis caching support
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index 8bd6d357..cedf3e06 100644 --- a/inc/config.php +++ b/inc/config.php @@ -91,6 +91,7 @@ $config['cache']['enabled'] = false; // $config['cache']['enabled'] = 'memcached'; + // $config['cache']['enabled'] = 'redis'; // $config['cache']['enabled'] = 'apc'; // $config['cache']['enabled'] = 'xcache'; @@ -104,6 +105,11 @@ $config['cache']['memcached'] = array( array('localhost', 11211) ); + + // Redis server to use. Location, port, password, database id. + // Note that Tinyboard may clear the database at times, so you may want to pick a + // database id just for Tinyboard to use. + $config['cache']['redis'] = array('localhost', 6379, '', 1); /* * ==================== |
