Skip to content

Commit 7b48684

Browse files
[Debug][WebProfilerBundle] Fix setting file link format
1 parent 11aebc7 commit 7b48684

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

FrameworkBundle.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ class FrameworkBundle extends Bundle
6161
{
6262
public function boot()
6363
{
64+
if (!ini_get('xdebug.file_link_format') && !get_cfg_var('xdebug.file_link_format')) {
65+
ini_set('xdebug.file_link_format', $this->container->getParameter('debug.file_link_format'));
66+
}
6467
ErrorHandler::register(null, false)->throwAt($this->container->getParameter('debug.error_handler.throw_at'), true);
6568

6669
if ($this->container->hasParameter('kernel.trusted_proxies')) {

0 commit comments

Comments
 (0)