Languages fixes
This commit is contained in:
parent
5fa1fc39cb
commit
ad1810c7b9
|
@ -20,7 +20,7 @@ class dbLanguage extends dbJSON
|
||||||
|
|
||||||
// User language
|
// User language
|
||||||
$filename = PATH_LANGUAGES.$language.'.json';
|
$filename = PATH_LANGUAGES.$language.'.json';
|
||||||
if(file_exists($filename))
|
if( file_exists($filename) && ($language!=="en_US") )
|
||||||
{
|
{
|
||||||
$Tmp = new dbJSON($filename, false);
|
$Tmp = new dbJSON($filename, false);
|
||||||
$this->db = array_merge($this->db, $Tmp->db);
|
$this->db = array_merge($this->db, $Tmp->db);
|
||||||
|
|
Loading…
Reference in New Issue