languges fixes
This commit is contained in:
parent
e8986d89ff
commit
9a7b17ef09
|
@ -70,7 +70,7 @@ function buildThemes()
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
// Load the language file
|
// Load the language file
|
||||||
$languageFilename = THEME_DIR.'languages'.DS.$Site->locale().'.json';
|
$languageFilename = THEME_DIR.'languages'.DS.$Site->language().'.json';
|
||||||
if( !Sanitize::pathFile($languageFilename) ) {
|
if( !Sanitize::pathFile($languageFilename) ) {
|
||||||
$languageFilename = THEME_DIR.'languages'.DS.DEFAULT_LANGUAGE_FILE;
|
$languageFilename = THEME_DIR.'languages'.DS.DEFAULT_LANGUAGE_FILE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue