change defaultLanguage to language in config
This commit is contained in:
@@ -68,7 +68,7 @@ class I18n
|
||||
}
|
||||
|
||||
if (empty($this->currentLanguage)) {
|
||||
$this->currentLanguage = $this->getConfig()->get('defaultLanguage');
|
||||
$this->currentLanguage = $this->getConfig()->get('language');
|
||||
}
|
||||
|
||||
return $this->currentLanguage;
|
||||
|
||||
@@ -24,7 +24,7 @@ return array (
|
||||
0 => 'USD',
|
||||
1 => 'EUR',
|
||||
),
|
||||
'defaultLanguage' => 'en_US',
|
||||
'language' => 'en_US',
|
||||
'defaultCurrency' => 'USD',
|
||||
'outboundEmailIsShared' => true,
|
||||
'outboundEmailFromName' => 'EspoCRM',
|
||||
|
||||
Reference in New Issue
Block a user