Both versions have a issue.
in functions.php page_header() there are 3 lines:
```php
	// Determine board url - we may need it later
	$board_url = generate_board_url() . '/';
	$web_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? $board_url : $phpbb_root_path;
```
That would actually also in here needful, but much overloading.