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:
parent
f138b4b887
commit
589435b667
@ -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();
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user