forked from leftypol/leftypol
commit
fd33e9eba1
2 changed files with 29 additions and 0 deletions
|
@ -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);
|
||||
|
||||
/*
|
||||
* ====================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue