mirror of
https://github.com/YGGverse/Yo.git
synced 2025-01-13 16:27:54 +00:00
fix remote snaps list builder
This commit is contained in:
parent
587fa26027
commit
f25de548b2
@ -164,6 +164,11 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp)
|
||||
|
||||
foreach ((array) $remote->nlist($filepath) as $filename)
|
||||
{
|
||||
if (is_dir($filename) || is_link($filename) || str_starts_with($filename, '.'))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$basename = basename(
|
||||
$filename
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user