mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-01-29 16:24:13 +00:00
ignore meta files
This commit is contained in:
parent
19d713e217
commit
6a1f69296b
@ -161,7 +161,7 @@ class Filesystem
|
|||||||
{
|
{
|
||||||
foreach ((array) scandir($path) as $file)
|
foreach ((array) scandir($path) as $file)
|
||||||
{
|
{
|
||||||
if (in_array($file, ['.', '..']))
|
if (in_array($file, ['.', '..']) || str_starts_with($file, '__'))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user