craigk5n / webcalendar

WebCalendar is a PHP application used to maintain a calendar for a single user or an intranet group of users. It can also be configured as an event calendar.
http://www.k5n.us/webcalendar.php
GNU General Public License v2.0
149 stars 71 forks source link

Add headless option for installation/update script #351

Closed dmjohnsson23 closed 1 year ago

dmjohnsson23 commented 1 year ago

When updating the software, it's inconvenient to go though the installation wizard again. Especially since you already have a known-good settings.php. This introduces a headless option which can be called from the command line.

It should work for a new install as well, I think, but I confess I've only tested this doing updates against existing installations.

This also fixes a bug I encountered when updating an install from version 1.0.5.

craigk5n commented 1 year ago

Nice contribution!