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:
Clemens Schwaighofer
2019-06-25 17:07:47 +09:00
parent 19458a2eba
commit 436025dd22
4 changed files with 40 additions and 136 deletions

View File

@@ -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";