Skip to content
Snippets Groups Projects
Commit 7d2a68fc authored by Georg Ehrke's avatar Georg Ehrke
Browse files

make carddav work with remote.php

parent 5a264040
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ $nodes = array(
// Fire up server
$server = new Sabre_DAV_Server($nodes);
$server->setBaseUri(OC::$WEBROOT.'/remote/carddav.php');
$server->setBaseUri($baseuri);
// Add plugins
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud'));
$server->addPlugin(new Sabre_CardDAV_Plugin());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment