admin includes updates, Class L10n fix
- Class L10n had wrong default path to the language file, so the file load failed - Fix some default admin includes file for template settings
This commit is contained in:
@@ -45,7 +45,7 @@ class L10n extends \CoreLibs\Basic
|
||||
|
||||
// override path check
|
||||
if (!is_dir($path)) {
|
||||
$path = INCLUDES.LANG.CONTENT_PATH;
|
||||
$path = BASE.INCLUDES.LANG.CONTENT_PATH;
|
||||
}
|
||||
|
||||
$this->mofile = $path.$this->lang.".mo";
|
||||
@@ -70,7 +70,7 @@ class L10n extends \CoreLibs\Basic
|
||||
|
||||
// override path check
|
||||
if (!is_dir($path)) {
|
||||
$path = INCLUDES.LANG.CONTENT_PATH;
|
||||
$path = BASE.INCLUDES.LANG.CONTENT_PATH;
|
||||
}
|
||||
|
||||
$this->mofile = $path.$this->lang.".mo";
|
||||
|
||||
Reference in New Issue
Block a user