function __construct() { parent::__CONSTRUCT(); $this->load->model('cpanelx/lang_model', 'language'); $this->language->set($this->session->userdata('lang')); $this->language->load('error'); $this->error_lang = $this->lang->line('error'); if ($this->secure) { $this->secure(); } }