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.
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.
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.