diff options
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 |