change defaultLanguage to language in config

This commit is contained in:
Taras Machyshyn
2014-03-06 12:57:47 +02:00
parent bb1890da93
commit 9161d906a7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -24,7 +24,7 @@ return array (
0 => 'USD',
1 => 'EUR',
),
'defaultLanguage' => 'en_US',
'language' => 'en_US',
'defaultCurrency' => 'USD',
'outboundEmailIsShared' => true,
'outboundEmailFromName' => 'EspoCRM',