fix baseUri of the Caldav server

master
Georg Ehrke 2012-02-26 21:44:35 +01:00
parent fb46d20ebf
commit 928cbb07c2
1 changed files with 1 additions and 1 deletions

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