aboutsummaryrefslogtreecommitdiffstats
path: root/files/webdav.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-09-23 09:40:01 +0200
committerJakob Sack <kde@jakobsack.de>2011-09-23 09:40:01 +0200
commit73d0caf8a45ac234e7277d5a57098eb139558fc9 (patch)
tree41d4fa3b9210698608ab50dd7ec4afd5f1a969b3 /files/webdav.php
parent917ea58a8c8191494ce0bd9fe15a547523c6fc37 (diff)
downloadnextcloud-server-73d0caf8a45ac234e7277d5a57098eb139558fc9.tar.gz
nextcloud-server-73d0caf8a45ac234e7277d5a57098eb139558fc9.zip
Add Sabre_DAV_Browser_Plugin to *DAV-servers to ease debugging
Diffstat (limited to 'files/webdav.php')
-rw-r--r--files/webdav.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/webdav.php b/files/webdav.php
index dd06074b780..6fae33a8f71 100644
--- a/files/webdav.php
+++ b/files/webdav.php
@@ -42,6 +42,7 @@ $server->setBaseUri(OC::$WEBROOT.'/files/webdav.php');
// Load plugins
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud'));
$server->addPlugin(new Sabre_DAV_Locks_Plugin($lockBackend));
+$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload
// And off we go!
$server->exec();