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;