Refactoring to make common/ more independent of the framework

This commit is contained in:
Tobias Hößl 2012-07-30 19:07:20 +00:00
parent 4b3421df24
commit a27f28d7bf
4 changed files with 28 additions and 19 deletions

View file

@ -100,8 +100,14 @@ function dav_init(&$a)
$server = dav_create_server();
$browser = new Sabre_DAV_Browser_Plugin();
$server->addPlugin($browser);
$aclPlugin = new Sabre_DAVACL_Plugin_Friendica();
$aclPlugin->defaultUsernamePath = "principals/users";
$server->addPlugin($aclPlugin);
$server->exec();
killme();