diff options
author | redmatrix <git@macgirvin.com> | 2016-07-17 16:04:00 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-17 16:04:00 -0700 |
commit | dc9fa7cf64ee41e0c9457737079aee16093a4b9c (patch) | |
tree | a20446cb758d31847ab0e8fee72e92adea70775e /Zotlabs | |
parent | 5d0ddb3123f27fb1a2afef9fba62743ad8851736 (diff) | |
download | volse-hubzilla-dc9fa7cf64ee41e0c9457737079aee16093a4b9c.tar.gz volse-hubzilla-dc9fa7cf64ee41e0c9457737079aee16093a4b9c.tar.bz2 volse-hubzilla-dc9fa7cf64ee41e0c9457737079aee16093a4b9c.zip |
include attach.php at the module level since 2d4b75428a87038 wasn't backported to dev and we're about to branch an RC
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Cloud.php | 3 | ||||
-rw-r--r-- | Zotlabs/Module/Dav.php | 1 | ||||
-rw-r--r-- | Zotlabs/Storage/Directory.php | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php index 9845c5658..68d84e070 100644 --- a/Zotlabs/Module/Cloud.php +++ b/Zotlabs/Module/Cloud.php @@ -13,6 +13,9 @@ use \Zotlabs\Storage; // composer autoloader for SabreDAV require_once('vendor/autoload.php'); +require_once('include/attach.php'); + + /** * @brief Fires up the SabreDAV server. * diff --git a/Zotlabs/Module/Dav.php b/Zotlabs/Module/Dav.php index 9b4b576c8..ba2394388 100644 --- a/Zotlabs/Module/Dav.php +++ b/Zotlabs/Module/Dav.php @@ -14,6 +14,7 @@ use \Zotlabs\Storage; // composer autoloader for SabreDAV require_once('vendor/autoload.php'); +require_once('include/attach.php'); /** * @brief Fires up the SabreDAV server. diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php index b524b3cab..6242d5274 100644 --- a/Zotlabs/Storage/Directory.php +++ b/Zotlabs/Storage/Directory.php @@ -206,7 +206,6 @@ 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); |