[FrameworkBundle] Fix templating.helper.code.file_link_format when defined by ini setting
This commit is contained in:
parent
6dac13bc20
commit
de7d4a7225
@ -364,7 +364,7 @@ class FrameworkExtension extends Extension
|
|||||||
'sublime' => 'subl://open?url=file://%%f&line=%%l',
|
'sublime' => 'subl://open?url=file://%%f&line=%%l',
|
||||||
);
|
);
|
||||||
|
|
||||||
$container->setParameter('templating.helper.code.file_link_format', ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format') ?: (isset($links[$ide]) ? $links[$ide] : $ide));
|
$container->setParameter('templating.helper.code.file_link_format', str_replace('%', '%%', ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format')) ?: (isset($links[$ide]) ? $links[$ide] : $ide));
|
||||||
}
|
}
|
||||||
$container->setParameter('templating.helper.form.resources', $config['form']['resources']);
|
$container->setParameter('templating.helper.form.resources', $config['form']['resources']);
|
||||||
$container->setParameter('fragment.renderer.hinclude.global_template', $config['hinclude_default_template']);
|
$container->setParameter('fragment.renderer.hinclude.global_template', $config['hinclude_default_template']);
|
||||||
|
Reference in New Issue
Block a user