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 5656 <argument >%kernel.root_dir%/Resources</argument >
5757 <argument type =" collection" >
5858 <argument >%kernel.root_dir%</argument >
59+ <argument >%kernel.project_dir%</argument >
5960 </argument >
6061 </service >
6162 <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
3131 public function __construct ($ fileLinkFormat , $ rootDir , $ charset )
3232 {
3333 $ 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) ).'/ ' ;
3535 $ this ->charset = $ charset ;
3636 }
3737
You can’t perform that action at this time.
0 commit comments