[feature/dic] Fetch cache driver explicitly

PHPBB3-10739
This commit is contained in:
Igor Wiedler 2012-03-31 20:23:33 +02:00
parent b12f9a2855
commit 776160a7e3

View file

@ -104,8 +104,8 @@ $container->setParameter('core.php_ext', $phpEx);
// set up caching
$cache = $container->get('cache');
$phpbb_class_loader_ext->set_cache($cache->get_driver());
$phpbb_class_loader->set_cache($cache->get_driver());
$phpbb_class_loader_ext->set_cache($container->get('cache.driver'));
$phpbb_class_loader->set_cache($container->get('cache.driver'));
// Instantiate some basic classes
$phpbb_dispatcher = $container->get('dispatcher');