diff options
-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) { |