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


[PHPBB3-13034](https://tracker.phpbb.com/browse/PHPBB3-13034)
Maybe add this as comment as removed below:
```// If enable_mod_rewrite is false, we need to include app.php```