mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/dic] Fetch cache driver explicitly
PHPBB3-10739
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user