aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/Directory.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-17 11:52:21 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-17 11:52:21 -0400
commit6c5086a933451969b72890c9b703d6ee141f9d9f (patch)
treea1ab7453ecf16a97c6904e244c9f3338d26cd370 /Zotlabs/Storage/Directory.php
parent99354ac57622002c0bbd820235d03321406f8d39 (diff)
downloadvolse-hubzilla-6c5086a933451969b72890c9b703d6ee141f9d9f.tar.gz
volse-hubzilla-6c5086a933451969b72890c9b703d6ee141f9d9f.tar.bz2
volse-hubzilla-6c5086a933451969b72890c9b703d6ee141f9d9f.zip
Added functions to check cloud files path and return path with hashed names
Diffstat (limited to 'Zotlabs/Storage/Directory.php')
-rw-r--r--Zotlabs/Storage/Directory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php
index b524b3cab..89f83c73c 100644
--- a/Zotlabs/Storage/Directory.php
+++ b/Zotlabs/Storage/Directory.php
@@ -371,6 +371,7 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota {
);
if ($r) {
+ require_once('include/attach.php');
$result = attach_mkdir($r[0], $this->auth->observer, array('filename' => $name, 'folder' => $this->folder_hash));
if($result['success']) {