fix baseUri of the Caldav server

This commit is contained in:
Georg Ehrke 2012-02-26 21:44:35 +01:00
parent 8c09330959
commit 089c24e650

View file

@ -25,7 +25,7 @@ $nodes = array(
// Fire up server
$server = new Sabre_DAV_Server($nodes);
$server->setBaseUri(OC::$APPSROOT.'/apps/calendar/caldav.php');
$server->setBaseUri(OC::$APPSWEBROOT.'/apps/calendar/caldav.php');
// Add plugins
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud'));
$server->addPlugin(new Sabre_CalDAV_Plugin());