1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-17 11:28:41 +01:00

context.php: use shared cache driver

This commit is contained in:
Zankaria 2024-04-07 21:10:39 +02:00 committed by Zankaria
parent f138b4b887
commit 589435b667

View File

@ -83,6 +83,10 @@ function build_context(array $config): Context {
$config['captcha']['native']['provider_check'],
$config['captcha']['native']['extra']
);
},
CacheDriver::class => function($c) {
// Use the global for backwards compatibility.
return \cache::getCache();
}
]);
}