mirror of
https://github.com/flextype/flextype.git
synced 2025-08-12 08:04:05 +02:00
Infrastructure changes: For theme templates we are using templates folder
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user