diff options
author | hubzilla <git@macgirvin.com> | 2016-07-08 10:40:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 10:40:59 +1000 |
commit | 9f413ed17435b06806fb83ede640554008410ccb (patch) | |
tree | a9acf78914b5be0d31c6b3ec6f35a47bafe6d8ac /Zotlabs/Storage/Directory.php | |
parent | 233cfc29d6e68f8a8453fab2ebb733ab35fa4b67 (diff) | |
parent | 227320f6f01dec264de820863f971d3e92a486ff (diff) | |
download | volse-hubzilla-9f413ed17435b06806fb83ede640554008410ccb.tar.gz volse-hubzilla-9f413ed17435b06806fb83ede640554008410ccb.tar.bz2 volse-hubzilla-9f413ed17435b06806fb83ede640554008410ccb.zip |
Merge pull request #450 from git-marijus/dev
fix /cloud after recent changes
Diffstat (limited to 'Zotlabs/Storage/Directory.php')
-rw-r--r-- | Zotlabs/Storage/Directory.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php index 7a2d9e68b..b524b3cab 100644 --- a/Zotlabs/Storage/Directory.php +++ b/Zotlabs/Storage/Directory.php @@ -206,6 +206,8 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota { throw new DAV\Exception\Forbidden('Permission denied.'); } + require_once('include/attach.php'); + $mimetype = z_mime_content_type($name); $c = q("SELECT * FROM channel WHERE channel_id = %d AND channel_removed = 0 LIMIT 1", |