From eca2ce0a8f4e14e6bbbb99b3e930dd3333eddb73 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sun, 7 Apr 2024 21:10:39 +0200 Subject: [PATCH] context.php: use shared cache driver --- inc/context.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inc/context.php b/inc/context.php index 4746be0d..137f6ebd 100644 --- a/inc/context.php +++ b/inc/context.php @@ -1,8 +1,11 @@ $config, + CacheDriver::class => function($c) { + // Use the global for backwards compatibility. + return \cache::getCache(); + } ]); }