We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54af3af commit 3b59951Copy full SHA for 3b59951
core/classes/Config.class.php
@@ -80,14 +80,10 @@ public function translation($language = "en") {
80
if (file_exists($translations_file)) {
81
$translations_data = file_get_contents($translations_file);
82
$translations = json_decode($translations_data, true);
83
-
84
- //$translation = array();
85
} else {
86
- $translations_file = $_SERVER["DOCUMENT_ROOT"]."/translations/en.json";
+ $translations_file = $_SERVER["DOCUMENT_ROOT"]."/core/translations/en.json";
87
88
89
90
91
}
92
return $translations;
93
0 commit comments