forked from GithubBackups/vichan
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']['provider_check'],
|
||||||
$config['captcha']['native']['extra']
|
$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