mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-04-01 17:35:28 +00:00
ignore meta files
This commit is contained in:
parent
19d713e217
commit
6a1f69296b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue