basic browsing and file retrieval for webdav working - uploads not yet. A lot of permissions stuff is in place so it's marginally (but probably not completely) permission controlled

This commit is contained in:
friendica
2014-01-02 17:49:39 -08:00
parent ad08561d84
commit a1c198814d
2 changed files with 127 additions and 60 deletions

View File

@@ -102,7 +102,7 @@ function cloud_init(&$a) {
$auth = new RedBasicAuth();
$rootDirectory = new RedDirectory('/cloud',$auth);
$rootDirectory = new RedDirectory('/',$auth);
$server = new DAV\Server($rootDirectory);
$lockBackend = new DAV\Locks\Backend\File('store/data/locks');
$lockPlugin = new DAV\Locks\Plugin($lockBackend);