[ticket/13034] Fix the route generated for the frontend not in the phpbb root path


[PHPBB3-13034](https://tracker.phpbb.com/browse/PHPBB3-13034)
Shouldn't this maybe use utf8_basename()?