diff --git a/src/webui/explore.php b/src/webui/explore.php index 0ac11d8..5c8d61c 100644 --- a/src/webui/explore.php +++ b/src/webui/explore.php @@ -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 );