mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
actually exclude files set with --exclude
This commit is contained in:
parent
7f94f38ed2
commit
6fc30510cd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user