diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-07-06 21:31:05 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-07-06 21:31:05 +0200 |
commit | d4627a0b1c1a0e08bb0606cf4b6ba4823b7a2862 (patch) | |
tree | cf0b1649b0d7f5b04c74e8d41a7670aed0f6a94f | |
parent | 523e7b5084b1ae62e151d1183f5150ffd9d9e60c (diff) | |
download | volse-hubzilla-d4627a0b1c1a0e08bb0606cf4b6ba4823b7a2862.tar.gz volse-hubzilla-d4627a0b1c1a0e08bb0606cf4b6ba4823b7a2862.tar.bz2 volse-hubzilla-d4627a0b1c1a0e08bb0606cf4b6ba4823b7a2862.zip |
fix /cloud after recent changes
-rw-r--r-- | Zotlabs/Module/Cloud.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php index 833b1b493..2ef67a3f3 100644 --- a/Zotlabs/Module/Cloud.php +++ b/Zotlabs/Module/Cloud.php @@ -23,7 +23,6 @@ require_once('vendor/autoload.php'); class Cloud extends \Zotlabs\Web\Controller { function init() { - require_once('include/reddav.php'); if (! is_dir('store')) os_mkdir('store', STORAGE_DEFAULT_PERMISSIONS, false); @@ -81,7 +80,7 @@ class Cloud extends \Zotlabs\Web\Controller { if($_SERVER['REQUEST_METHOD'] === 'GET') { try { - $x = RedFileData('/' . \App::$cmd, $auth); + $x = $rootDirectory->CollectionData('/' . \App::$cmd, $auth); } catch(\Exception $e) { if($e instanceof Sabre\DAV\Exception\Forbidden) { |