From 58cb60988f25c2b9262a4c30982995bb22571c45 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 22 Apr 2018 01:49:30 +0300 Subject: [PATCH] Infrastructure changes: For theme templates we are using templates folder --- flextype/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/View.php b/flextype/View.php index 69ecd40d..022bb5a6 100644 --- a/flextype/View.php +++ b/flextype/View.php @@ -66,7 +66,7 @@ class View { // Set view file // From current theme folder or from plugin folder - if (Filesystem::fileExists($theme_view_file = THEMES_PATH . '/' . Config::get('site.theme') . '/' . $view . '.php')) { + if (Filesystem::fileExists($theme_view_file = THEMES_PATH . '/' . Config::get('site.theme') . '/templates/' . $view . '.php')) { $this->view_file = $theme_view_file; } else { $this->view_file = PLUGINS_PATH . '/' . $view . '.php';