fix check for existing config.php