Browse Source

fix remote snaps list builder

main
yggverse 8 months ago
parent
commit
f25de548b2
  1. 5
      src/webui/explore.php

5
src/webui/explore.php

@ -164,6 +164,11 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp) @@ -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…
Cancel
Save