mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 23:56:25 +03:00
Merge pull request #221
This commit is contained in:
@@ -36,6 +36,7 @@ class Kernel extends BaseKernel
|
||||
|
||||
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)
|
||||
{
|
||||
$container->setParameter('container.autowiring.strict_mode', true);
|
||||
$confDir = dirname(__DIR__).'/config';
|
||||
$loader->load($confDir.'/packages/*'.self::CONFIG_EXTS, 'glob');
|
||||
if (is_dir($confDir.'/packages/'.$this->environment)) {
|
||||
|
||||
Reference in New Issue
Block a user