hide dotfiles by default in /cloud - the web interface (they are still accessible but hidden). Change this behaviour with pconfig system.show_dot_files
This commit is contained in:
parent
0545baaf56
commit
cab22f228a
@ -719,6 +719,8 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota, DAV\IMo
|
||||
);
|
||||
|
||||
foreach ($r as $rr) {
|
||||
if((strpos($rr['filename'],'.') === 0) && (! get_pconfig($channel_id,'system','show_dot_files')))
|
||||
continue;
|
||||
|
||||
// @FIXME I don't think we use revisions currently in attach structures.
|
||||
// In case we see any in the wild provide a unique filename. This
|
||||
|
Reference in New Issue
Block a user