Skip to content

Commit f5a6c71

Browse files
[HttpKernel] fix registering IDE links
1 parent 5e28927 commit f5a6c71

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

FrameworkBundle.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ 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-
}
6764
ErrorHandler::register(null, false)->throwAt($this->container->getParameter('debug.error_handler.throw_at'), true);
6865

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

Resources/config/web.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
<argument type="service" id="logger" on-invalid="null" />
7575
<argument>%kernel.debug%</argument>
7676
<argument>%kernel.charset%</argument>
77+
<argument>%debug.file_link_format%</argument>
7778
</service>
7879

7980
<service id="validate_request_listener" class="Symfony\Component\HttpKernel\EventListener\ValidateRequestListener">

0 commit comments

Comments
 (0)