/** * Initialize the installer. * * @return void */ public function __construct() { parent::__construct(); // Load the basics since Base_Controller is not used here. $this->lang->load('application'); // Make sure the template library doesn't try to use sessions. $this->load->library('template'); Template::setSessionUse(false); $this->load->library('assets'); $this->load->library('events'); $this->load->helper('application'); // Disable hooks, since they may rely on an installed environment. get_instance()->hooks->enabled = false; // Load the Installer library. $this->lang->load('install'); $this->load->library('installer_lib'); }