Rename core/config.php to xf/core/config.php