aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2014-10-12 00:33:37 +0200
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2014-10-12 00:33:37 +0200
commitdc4593f5b54112093c94cc2ea39a4f2d138c1432 (patch)
tree99d0ae23b2b84390ae370874af437cec3419f46e /mod
parentfd00a24957fdb9413523b19a014658a0cc87b4bf (diff)
downloadvolse-hubzilla-dc4593f5b54112093c94cc2ea39a4f2d138c1432.tar.gz
volse-hubzilla-dc4593f5b54112093c94cc2ea39a4f2d138c1432.tar.bz2
volse-hubzilla-dc4593f5b54112093c94cc2ea39a4f2d138c1432.zip
Moved classes from reddav.php into own files.
Finished moving classes out from include/reddav.php into own files. Also continued with namespace for RedDAV. Improved some docs and added some todos and fixmes.
Diffstat (limited to 'mod')
-rw-r--r--mod/cloud.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/cloud.php b/mod/cloud.php
index 149a6da5d..a8875fd29 100644
--- a/mod/cloud.php
+++ b/mod/cloud.php
@@ -63,7 +63,7 @@ function cloud_init(&$a) {
if ($which)
profile_load($a, $which, $profile);
- $auth = new RedBasicAuth();
+ $auth = new RedDAV\RedBasicAuth();
$ob_hash = get_observer_hash();
@@ -91,7 +91,7 @@ function cloud_init(&$a) {
$_SERVER['REQUEST_URI'] = strip_zids($_SERVER['REQUEST_URI']);
$_SERVER['REQUEST_URI'] = preg_replace('/[\?&]davguest=(.*?)([\?&]|$)/ism', '', $_SERVER['REQUEST_URI']);
- $rootDirectory = new RedDirectory('/', $auth);
+ $rootDirectory = new RedDAV\RedDirectory('/', $auth);
// A SabreDAV server-object
$server = new DAV\Server($rootDirectory);