diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-09-23 11:40:01 +0400 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-09-23 11:40:01 +0400 |
commit | 73d0caf8a45ac234e7277d5a57098eb139558fc9 (patch) | |
tree | 41d4fa3b9210698608ab50dd7ec4afd5f1a969b3 | |
parent | 917ea58a8c8191494ce0bd9fe15a547523c6fc37 (diff) |
Add Sabre_DAV_Browser_Plugin to *DAV-servers to ease debugging
-rw-r--r-- | apps/calendar/caldav.php | 1 | ||||
-rw-r--r-- | apps/contacts/carddav.php | 1 | ||||
-rw-r--r-- | files/webdav.php | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/apps/calendar/caldav.php b/apps/calendar/caldav.php index 15259ad4461..71d62356044 100644 --- a/apps/calendar/caldav.php +++ b/apps/calendar/caldav.php @@ -43,6 +43,7 @@ $server->setBaseUri(OC::$WEBROOT.'/apps/calendar/caldav.php'); $server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud')); $server->addPlugin(new Sabre_CalDAV_Plugin()); $server->addPlugin(new Sabre_DAVACL_Plugin()); +$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload // And off we go! $server->exec(); diff --git a/apps/contacts/carddav.php b/apps/contacts/carddav.php index 4bc215453c4..b17a9395355 100644 --- a/apps/contacts/carddav.php +++ b/apps/contacts/carddav.php @@ -43,6 +43,7 @@ $server->setBaseUri(OC::$WEBROOT.'/apps/contacts/carddav.php'); $server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud')); $server->addPlugin(new Sabre_CardDAV_Plugin()); $server->addPlugin(new Sabre_DAVACL_Plugin()); +$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload // And off we go! $server->exec(); 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(); |