mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +03:00
Corrected config set for language in parent controller
This commit is contained in:
parent
0631dbadf9
commit
0aa41d0927
1 changed files with 2 additions and 2 deletions
|
@ -69,13 +69,13 @@ class EA_Controller extends CI_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configure the language
|
* Configure the language.
|
||||||
*/
|
*/
|
||||||
private function configure_language()
|
private function configure_language()
|
||||||
{
|
{
|
||||||
if ($this->session->has_userdata('language'))
|
if ($this->session->has_userdata('language'))
|
||||||
{
|
{
|
||||||
$this->config->set_item('language');
|
$this->config->set_item('language', $this->session->userdata('language'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->lang->load('translations');
|
$this->lang->load('translations');
|
||||||
|
|
Loading…
Reference in a new issue