sproctor / php-calendar

PHP-Calendar
http://www.php-calendar.org/
Apache License 2.0
140 stars 67 forks source link

Fix updater #40

Closed sproctor closed 11 years ago

sproctor commented 11 years ago

The code to prevent the installer from running breaks the update function. Update should be moved to its own script and require a logged in admin to run.

sproctor commented 11 years ago

Updater stayed in the install file. DB version is now tracked. Updates/installs are only allowed if the version in the install script is greater than the one in the DB.