Skip to content

NOW MANAGED ON CODEBERG

Fixed redis config not being set if not using redis

Dan Brown0a8030306e9b
diff --git a/config/database.php b/config/database.php
index 20d461fc9..e4d6880c7 100644
--- a/config/database.php
+++ b/config/database.php
@@ -139,6 +139,6 @@ return [
|
*/
- 'redis' => $redisConfig,
+ 'redis' => env('REDIS_SERVERS', false) ? $redisConfig : [],
];