Skip to content
Jeff Johns edited this page Feb 4, 2014 · 3 revisions
Controller Extends Path
Install CI_Controller /application/controllers/install.php

Request Types

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.

Methods

__construct - Public

Called automatically which in turn calls the parent constructor.


check_admin - Private

Checks if the current user is an admin, if not redirects them out.


database_install - Private

Used to check if a users table exists yet. If not it runs migrations.


index - Public

Checks if application has been installed yet. If not it runs all the current migrations.


upgrade - Public

Runs migrations if you are not up-to-date.