diff options
author | Thomas Lange <code@nerdmind.de> | 2019-04-26 20:32:48 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2019-04-26 21:02:13 +0200 |
commit | 33794b12d5c68df918b988497a396b86acb09feb (patch) | |
tree | 810476a1fe4265f5163d0d1ceb6a49f5a668aa33 /core/namespace/Application.php | |
parent | 0c918cafbef2e6c402e6852e821397114ea62284 (diff) | |
download | blog-33794b12d5c68df918b988497a396b86acb09feb.tar.gz blog-33794b12d5c68df918b988497a396b86acb09feb.tar.xz blog-33794b12d5c68df918b988497a396b86acb09feb.zip |
Rename "template" directory to "theme"
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.
Diffstat (limited to 'core/namespace/Application.php')
-rw-r--r-- | core/namespace/Application.php | 4 |
1 files changed, 2 insertions, 2 deletions
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}"); } #=============================================================================== |