[WIP][ticket/12420] Reduce number of config.php inclusions.

https://tracker.phpbb.com/browse/PHPBB3-12420
This is intended to avoid conflicts.