From 6fc30510cd646ee40d928105570d2eb87347b832 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 15 Aug 2024 13:35:25 +0200 Subject: [PATCH] actually exclude files set with --exclude --- utils/importfs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/importfs.php b/utils/importfs.php index ede4570d7..68cf1ebd2 100644 --- a/utils/importfs.php +++ b/utils/importfs.php @@ -233,7 +233,7 @@ function import_folder($dirname, $folder, $setfiledate, $setfolderdate, $metadat $sequence = 1; while(false !== ($entry = $d->read())) { $path = $dirname.'/'.$entry; - if($entry != '.' && $entry != '..' && $entry != '.svn') { + if(!in_array($entry, $excludefiles)) { if(is_file($path)) { $name = utf8_basename($path); $filetmp = $path;