aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/namespace/Application.php')
-rw-r--r--core/namespace/Application.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/namespace/Application.php b/core/namespace/Application.php
index 4fa80cc..4a6414a 100644
--- a/core/namespace/Application.php
+++ b/core/namespace/Application.php
@@ -58,7 +58,9 @@ class Application {
$template_lang = self::get('TEMPLATE.LANG');
$Language = new Language(self::get('CORE.LANGUAGE'));
- $Language->loadLanguage(sprintf(ROOT.'template/%s/lang/%s.php', $template_name, $template_lang));
+ $Language->load(sprintf(ROOT.'core/language/%s.php', Application::get('CORE.LANGUAGE')));
+ $Language->load(sprintf(ROOT.'template/%s/lang/%s.php', $template_name, $template_lang));
+
self::$Language = $Language;
}