[ticket/11604] Use variables for config.php filesnames.

PHPBB3-11604
[ticket/11604] Fix case where config.php is not generated by phpBB.

PHPBB3-11604