[ticket/12931] Fix general error on user registration

Fix "Illegal use of $_SERVER" general error on user registration
when $config['server_name'] is not set.

<a href="https://tracker.phpbb.com/browse/PHPBB3-12931">PHPBB3-12931</a>.
`?:` without a space