-
Notifications
You must be signed in to change notification settings - Fork 194
Controller Install
Jeff Johns edited this page Feb 4, 2014
·
3 revisions
Controller | Extends | Path |
---|---|---|
Install | CI_Controller | /application/controllers/install.php |
Type | Accessible |
---|---|
XMLHttpRequest | No |
API | No |
Web View | Yes |
This controller handles the installation/upgrade of the software. After initial install it is recommended that you run upgrades using the Migrations Controller via command line when possible.
Called automatically which in turn calls the parent constructor.
Checks if the current user is an admin, if not redirects them out.
Used to check if a users table exists yet. If not it runs migrations.
Checks if application has been installed yet. If not it runs all the current migrations.
Runs migrations if you are not up-to-date.