CodeIgniter-multilanguage-site
CodeIgniter-multilanguage-site copied to clipboard
update config lang instead of specifying everytime
Hi,
You specified language on every lang load in your implementation.
how about setting it in MY_Controller:
$this->config->set_item('language', $this->data['current_lang']['language_directory']);
That would make sense. Please, make a PR.