Browse Source

ignore meta files

main
ghost 10 months ago
parent
commit
6a1f69296b
  1. 2
      src/Dokuwiki/Filesystem.php

2
src/Dokuwiki/Filesystem.php

@ -161,7 +161,7 @@ class Filesystem @@ -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;
}

Loading…
Cancel
Save