mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
add symlinks filter
This commit is contained in:
parent
971baa9df2
commit
d8bd05c908
1 changed files with 5 additions and 0 deletions
|
|
@ -235,6 +235,11 @@ class Filesystem
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_link($file))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (in_array($file, $blacklist))
|
if (in_array($file, $blacklist))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue