From 2bd7d30a5b3b1b12c2caeb6ecbc8fe9af23f3e1c Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 9 May 2018 01:54:18 -0700 Subject: show/hide dot files only in mod_cloud. For DAV let the OS decide --- Zotlabs/Storage/Directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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. -- cgit v1.2.3