Files should not appear as themes
This commit is contained in:
parent
f7dcf8ebb0
commit
0dabaf67c1
|
|
@ -175,7 +175,7 @@ class Theme
|
|||
|
||||
$result = [];
|
||||
foreach ($it as $fileinfo) {
|
||||
if ($fileinfo->isDot() || (substr($fileinfo->getFilename(), 0, 1) == '.'))
|
||||
if (!$fileinfo->isDir() || $fileinfo->isDot())
|
||||
continue;
|
||||
|
||||
$theme = new static;
|
||||
|
|
|
|||
Loading…
Reference in New Issue