diff --git a/backend/utils.php b/backend/utils.php index 00a6308..034f45c 100644 --- a/backend/utils.php +++ b/backend/utils.php @@ -701,7 +701,7 @@ class Translations } foreach($this->loaded_languages as $language) { $filename = "translations/".$language.".php"; - if (file_exists($this->filename)) { + if (file_exists($filename)) { $this->loaded_translations[$language] = require($filename); } else { throw new Exception("Language file not found");