mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
78948a3f51
|
@ -260,7 +260,8 @@ class SeedDMS_Extension_Mgr {
|
|||
if( in_array(substr($file, strrpos($file, '/')+1), array('.', '..')) )
|
||||
continue;
|
||||
// Ignore all files and directories starting with a '.'
|
||||
if( preg_match('#/\\.#', $file) )
|
||||
// but keep an .htaccess file
|
||||
if( !preg_match('#\\.htaccess$#', $file) && preg_match('#/\\.#', $file) )
|
||||
continue;
|
||||
|
||||
$file = realpath($file);
|
||||
|
|
Loading…
Reference in New Issue
Block a user