mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
fix remote snaps list builder
This commit is contained in:
parent
587fa26027
commit
f25de548b2
1 changed files with 5 additions and 0 deletions
|
|
@ -164,6 +164,11 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp)
|
||||||
|
|
||||||
foreach ((array) $remote->nlist($filepath) as $filename)
|
foreach ((array) $remote->nlist($filepath) as $filename)
|
||||||
{
|
{
|
||||||
|
if (is_dir($filename) || is_link($filename) || str_starts_with($filename, '.'))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$basename = basename(
|
$basename = basename(
|
||||||
$filename
|
$filename
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue