diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-09 01:54:18 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-09 01:54:18 -0700 |
commit | 2bd7d30a5b3b1b12c2caeb6ecbc8fe9af23f3e1c (patch) | |
tree | d116b1176c04225a0b6fd1f2cf44a162d905df8d /Zotlabs/Storage | |
parent | cab22f228ac3dd78af3e2d695f9cbdc8f32a8f56 (diff) | |
download | volse-hubzilla-2bd7d30a5b3b1b12c2caeb6ecbc8fe9af23f3e1c.tar.gz volse-hubzilla-2bd7d30a5b3b1b12c2caeb6ecbc8fe9af23f3e1c.tar.bz2 volse-hubzilla-2bd7d30a5b3b1b12c2caeb6ecbc8fe9af23f3e1c.zip |
show/hide dot files only in mod_cloud. For DAV let the OS decide
Diffstat (limited to 'Zotlabs/Storage')
-rw-r--r-- | Zotlabs/Storage/Directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php index b30d45b0e..f46e2e666 100644 --- a/Zotlabs/Storage/Directory.php +++ b/Zotlabs/Storage/Directory.php @@ -719,7 +719,7 @@ 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'))) + if(\App::$module === 'cloud' && (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. |