From 74a79a562720182081cd58c166990d516554c501 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 22 May 2019 13:09:14 +0300 Subject: [PATCH] Flextype Core: Themes - fixes. --- flextype/Themes.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flextype/Themes.php b/flextype/Themes.php index 63f082d6..3f962bce 100644 --- a/flextype/Themes.php +++ b/flextype/Themes.php @@ -29,7 +29,6 @@ class Themes public function __construct($flextype) { $this->flextype = $flextype; - $this->init($flextype, $app); } public function init($flextype, $app) @@ -98,7 +97,7 @@ class Themes $templates = []; // Get templates files - $_templates = Filesystem::listContents(PATH['themes'] . '/' . $this->flextype['registry']->get('settings.theme') . '/views/templates/'); + $_templates = Filesystem::listContents(PATH['themes'] . '/' . $this->flextype['registry']->get('settings.theme') . '/templates/'); // If there is any template file then go... if (count($_templates) > 0) {