Installer now writes config.php correctly