mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00:00
[feature/dic] Fetch cache driver explicitly
PHPBB3-10739
This commit is contained in:
parent
b12f9a2855
commit
776160a7e3
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ $container->setParameter('core.php_ext', $phpEx);
|
||||||
|
|
||||||
// set up caching
|
// set up caching
|
||||||
$cache = $container->get('cache');
|
$cache = $container->get('cache');
|
||||||
$phpbb_class_loader_ext->set_cache($cache->get_driver());
|
$phpbb_class_loader_ext->set_cache($container->get('cache.driver'));
|
||||||
$phpbb_class_loader->set_cache($cache->get_driver());
|
$phpbb_class_loader->set_cache($container->get('cache.driver'));
|
||||||
|
|
||||||
// Instantiate some basic classes
|
// Instantiate some basic classes
|
||||||
$phpbb_dispatcher = $container->get('dispatcher');
|
$phpbb_dispatcher = $container->get('dispatcher');
|
||||||
|
|
Loading…
Add table
Reference in a new issue