1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-27 06:54:31 +02:00

Slim Framework integration #118 #117

- Themes: refactoring
This commit is contained in:
Awilum
2019-05-26 00:33:21 +03:00
parent c39660af23
commit ad9a402e3d

View File

@@ -71,7 +71,7 @@ class Themes
$partials = [];
// Get partials files
$_partials = Filesystem::listContents(PATH['themes'] . '/' . $this->flextype['registry']->get('settings.theme') . '/views/partials/');
$_partials = Filesystem::listContents(PATH['themes'] . '/' . $this->flextype['registry']->get('settings.theme') . '/templates/partials/');
// If there is any partials file then go...
if (count($_partials) > 0) {