mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 10:17:16 +02:00
Merge branch 'develop' into 1.7
This commit is contained in:
@@ -235,7 +235,7 @@ abstract class Folder
|
||||
/** @var \RecursiveDirectoryIterator $file */
|
||||
foreach ($iterator as $file) {
|
||||
// Ignore hidden files.
|
||||
if (strpos($file->getFilename(), '.') === 0) {
|
||||
if (strpos($file->getFilename(), '.') === 0 && $file->isFile()) {
|
||||
continue;
|
||||
}
|
||||
if (!$folders && $file->isDir()) {
|
||||
|
||||
Reference in New Issue
Block a user