diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-17 22:00:39 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-17 22:00:39 +0200 |
commit | 5555624546ea48d6327700f32b80848e0662dc90 (patch) | |
tree | 47d61fb756a6cb008aaf33586d292fcfe43da2a1 /core/namespace/Template/Factory.php | |
parent | 91d8a28c664afa5378735bcd0efe068dd74d589f (diff) | |
parent | 0a2614cb69fc732c2115ef2f0c356f39f602d311 (diff) | |
download | blog-optimization.tar.gz blog-optimization.tar.xz blog-optimization.zip |
Merge branch 'master' into 'optimization'optimization
Diffstat (limited to 'core/namespace/Template/Factory.php')
-rw-r--r-- | core/namespace/Template/Factory.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/namespace/Template/Factory.php b/core/namespace/Template/Factory.php index a90c61e..7e56a79 100644 --- a/core/namespace/Template/Factory.php +++ b/core/namespace/Template/Factory.php @@ -3,7 +3,7 @@ namespace Template; class Factory extends \Factory implements \FactoryInterface { public static function build($template): Template { - $Template = new Template(ROOT.'template/'.\Application::get('TEMPLATE.NAME')."/html/{$template}.php"); + $Template = new Template(ROOT.'theme/'.\Application::get('TEMPLATE.NAME')."/html/{$template}.php"); $Template->set('Language', \Application::getLanguage()); $Template->set('BLOGMETA', [ 'NAME' => \Application::get('BLOGMETA.NAME'), @@ -15,4 +15,3 @@ class Factory extends \Factory implements \FactoryInterface { return $Template; } } -?>
\ No newline at end of file |