diff --git a/core/cacheengine.php b/core/cacheengine.php index 18c379cc..01a66f90 100644 --- a/core/cacheengine.php +++ b/core/cacheengine.php @@ -121,7 +121,8 @@ function loadCache(?string $dsn): CacheInterface ], ['prefix' => 'shm:']); $c = new \Naroga\RedisCache\Redis($redis); } - } else { + } + if(is_null($c)) { $c = new \Sabre\Cache\Memory(); } global $_tracer;