Fixed replace argument of routing.loader
service
This commit is contained in:
parent
f930ed2374
commit
5e2e79dbb9
@ -780,7 +780,7 @@ class FrameworkExtension extends Extension
|
|||||||
$loader->load('routing.xml');
|
$loader->load('routing.xml');
|
||||||
|
|
||||||
if ($config['utf8']) {
|
if ($config['utf8']) {
|
||||||
$container->getDefinition('routing.loader')->replaceArgument(2, ['utf8' => true]);
|
$container->getDefinition('routing.loader')->replaceArgument(1, ['utf8' => true]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$container->setParameter('router.resource', $config['resource']);
|
$container->setParameter('router.resource', $config['resource']);
|
||||||
|
Reference in New Issue
Block a user