Fixed root path to display debug icon on subdir symfony installations. Not the best way but it works.