Fixed reference to settings file in publish.php that was causing upload errors.