mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-08 17:38:49 +00:00
Refactoring to make common/ more independent of the framework
This commit is contained in:
parent
4b3421df24
commit
a27f28d7bf
4 changed files with 28 additions and 19 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue