mirror of
https://github.com/flextype/flextype.git
synced 2025-08-16 01:54:28 +02:00
Flextype Core: Themes - fixes.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user