Fix an other stupid typo
This commit is contained in:
parent
e104402163
commit
94f06df393
|
@ -701,7 +701,7 @@ class Translations
|
||||||
}
|
}
|
||||||
foreach($this->loaded_languages as $language) {
|
foreach($this->loaded_languages as $language) {
|
||||||
$filename = "translations/".$language.".php";
|
$filename = "translations/".$language.".php";
|
||||||
if (file_exists($this->filename)) {
|
if (file_exists($filename)) {
|
||||||
$this->loaded_translations[$language] = require($filename);
|
$this->loaded_translations[$language] = require($filename);
|
||||||
} else {
|
} else {
|
||||||
throw new Exception("Language file not found");
|
throw new Exception("Language file not found");
|
||||||
|
|
Loading…
Reference in New Issue