Changeset 3984:360a96edeef5 for inc/core/class.dc.media.php
- Timestamp:
- 06/28/19 10:59:20 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
inc/core/class.dc.media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.media.php
r3968 r3984 921 921 $zip = new fileUnzip($f->file); 922 922 $zip->setExcludePattern($this->exclude_pattern); 923 $list = $zip->getList(false, '#(^|/)(__MACOSX|\.svn|\.hg |\.git|\.DS_Store|\.directory|Thumbs\.db)(/|$)#');923 $list = $zip->getList(false, '#(^|/)(__MACOSX|\.svn|\.hg.*|\.git.*|\.DS_Store|\.directory|Thumbs\.db)(/|$)#'); 924 924 925 925 if ($create_dir) { … … 973 973 { 974 974 $zip = new fileUnzip($f->file); 975 $list = $zip->getList(false, '#(^|/)(__MACOSX|\.svn|\.hg |\.git|\.DS_Store|\.directory|Thumbs\.db)(/|$)#');975 $list = $zip->getList(false, '#(^|/)(__MACOSX|\.svn|\.hg.*|\.git.*|\.DS_Store|\.directory|Thumbs\.db)(/|$)#'); 976 976 $zip->close(); 977 977 return $list;
Note: See TracChangeset
for help on using the changeset viewer.
