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:
zotlabs 2018-05-08 23:01:24 -07:00
parent 0545baaf56
commit cab22f228a

View File

@ -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