public function __construct() { parent::__construct(); parent::__construct(); $curr_lang = $this->uri->segment(1) != '' ? $this->uri->segment(1) : 'en'; if ($curr_lang == 'ar') { $this->config->set_item('language', 'arabic'); } }
public function __construct() { parent::__construct(); }