mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
ignore all files/directories starting with '.' when zipіng an extension
This commit is contained in:
parent
b97387ecb1
commit
fd7cca239a
|
@ -255,6 +255,9 @@ class SeedDMS_Extension_Mgr {
|
|||
// Ignore "." and ".." folders
|
||||
if( in_array(substr($file, strrpos($file, '/')+1), array('.', '..')) )
|
||||
continue;
|
||||
// Ignore all files and directories starting with a '.'
|
||||
if( preg_match('#/\\.#', $file) )
|
||||
continue;
|
||||
|
||||
$file = realpath($file);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user