From 3820752d9bce06aa10c7f31a84a06cd858ff4a92 Mon Sep 17 00:00:00 2001 From: YAAP Date: Sat, 22 Jul 2017 22:00:52 +0300 Subject: [PATCH] Update Theme.php --- src/YAAP/Theme/Theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/YAAP/Theme/Theme.php b/src/YAAP/Theme/Theme.php index 041ad90..0b5914b 100644 --- a/src/YAAP/Theme/Theme.php +++ b/src/YAAP/Theme/Theme.php @@ -91,7 +91,7 @@ public function init($theme) $this->finder->addLocation($path . '/' . $theme); // add folder with views - $this->finder->addLocation($path . '/' . $theme . '/views'); + $this->finder->addLocation($path . '/' . $theme . '/' . config('theme.containerDir.view')); // read theme config $current_theme_config = $this->_readConfig($path . '/' . $theme . '/config.php'); @@ -242,4 +242,4 @@ private function _readConfig($path){ } } - \ No newline at end of file +