diff --git a/src/Dokuwiki/Filesystem.php b/src/Dokuwiki/Filesystem.php index 2a1cdce..b6e1e2d 100644 --- a/src/Dokuwiki/Filesystem.php +++ b/src/Dokuwiki/Filesystem.php @@ -161,7 +161,7 @@ class Filesystem { foreach ((array) scandir($path) as $file) { - if (in_array($file, ['.', '..'])) + if (in_array($file, ['.', '..']) || str_starts_with($file, '__')) { continue; }