SPEEDY improve sysGeneric to stream files instead build them at runtime-commit4
This commit is contained in:
@@ -1209,7 +1209,7 @@ class G
|
||||
$defaultTranslations = $translation;
|
||||
|
||||
//if some foreign language was requested and its translation file exists
|
||||
if ($lang != 'en' && file_exists( PATH_LANGUAGECONT . 'translation.' . $lang )) {
|
||||
if ($locale != 'en' && file_exists( PATH_LANGUAGECONT . 'translation.' . $lang )) {
|
||||
require_once (PATH_LANGUAGECONT . 'translation.' . $lang); //load the foreign translations table
|
||||
$foreignTranslations = $translation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user