File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 56
56
<argument >%kernel.root_dir%/Resources</argument >
57
57
<argument type =" collection" >
58
58
<argument >%kernel.root_dir%</argument >
59
+ <argument >%kernel.project_dir%</argument >
59
60
</argument >
60
61
</service >
61
62
<service id =" Symfony\Component\HttpKernel\Config\FileLocator" alias =" file_locator" />
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class CodeHelper extends Helper
31
31
public function __construct ($ fileLinkFormat , $ rootDir , $ charset )
32
32
{
33
33
$ this ->fileLinkFormat = $ fileLinkFormat ?: ini_get ('xdebug.file_link_format ' ) ?: get_cfg_var ('xdebug.file_link_format ' );
34
- $ this ->rootDir = str_replace ('\\' , '/ ' , $ rootDir ).'/ ' ;
34
+ $ this ->rootDir = str_replace ('\\' , '/ ' , dirname ( $ rootDir) ).'/ ' ;
35
35
$ this ->charset = $ charset ;
36
36
}
37
37
You can’t perform that action at this time.
0 commit comments