mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:35:12 +00:00
SDAV is already absolute
This commit is contained in:
parent
7f974a543f
commit
2b77c9a74b
1 changed files with 3 additions and 3 deletions
|
@ -91,10 +91,10 @@ class Dav extends \Zotlabs\Web\Controller {
|
|||
$rootDirectory = new \Zotlabs\Storage\Directory('/', $auth);
|
||||
|
||||
// A SabreDAV server-object
|
||||
$server = new \SDAV\Server($rootDirectory);
|
||||
$server = new SDAV\Server($rootDirectory);
|
||||
// prevent overwriting changes each other with a lock backend
|
||||
$lockBackend = new \SDAV\Locks\Backend\File('store/[data]/locks');
|
||||
$lockPlugin = new \SDAV\Locks\Plugin($lockBackend);
|
||||
$lockBackend = new SDAV\Locks\Backend\File('store/[data]/locks');
|
||||
$lockPlugin = new SDAV\Locks\Plugin($lockBackend);
|
||||
|
||||
$server->addPlugin($lockPlugin);
|
||||
|
||||
|
|
Loading…
Reference in a new issue