config.php: fix default config for redis cache

This commit is contained in:
Zankaria 2024-12-01 17:47:53 +01:00
parent ac98a0459f
commit 5e45fc9d60

View file

@ -152,7 +152,7 @@
// 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);
$config['cache']['redis'] = [ 'localhost', 6379, null, 1 ];
// EXPERIMENTAL: Should we cache configs? Warning: this changes board behaviour, i'd say, a lot.
// If you have any lambdas/includes present in your config, you should move them to instance-functions.php