From 33794b12d5c68df918b988497a396b86acb09feb Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 26 Apr 2019 20:32:48 +0200 Subject: Rename "template" directory to "theme" This commit renames the "template" directory to "theme" because "theme" is the more correct term here. --- core/namespace/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/namespace/Application.php') diff --git a/core/namespace/Application.php b/core/namespace/Application.php index 8c3be12..a45e1e8 100644 --- a/core/namespace/Application.php +++ b/core/namespace/Application.php @@ -59,7 +59,7 @@ class Application { $Language = new Language(self::get('CORE.LANGUAGE')); $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)); + $Language->load(sprintf(ROOT.'theme/%s/lang/%s.php', $template_name, $template_lang)); self::$Language = $Language; } @@ -136,7 +136,7 @@ class Application { #=============================================================================== public static function getTemplateURL($more = ''): string { $template = self::get('TEMPLATE.NAME'); - return self::getURL("template/{$template}/{$more}"); + return self::getURL("theme/{$template}/{$more}"); } #=============================================================================== -- cgit v1.2.3