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

https://tracker.phpbb.com/browse/PHPBB3-12420
What happened to the variables name in this function?