make carddav work with remote.php

This commit is contained in:
Georg Ehrke 2012-05-07 11:24:19 +02:00
parent 5a264040d4
commit 7d2a68fc31
1 changed files with 1 additions and 1 deletions

View File

@ -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());