nextcloud/apps/remoteStorage/appinfo/webfinger.php

9 lines
358 B
PHP

<?php if(OC_User::userExists(WF_USER)) { ?>
{
"rel":"remoteStorage",
"template":"<?php echo WF_BASEURL; ?>/apps/remoteStorage/WebDAV.php/<?php echo WF_USER; ?>/remoteStorage/{category}/",
"api":"WebDAV",
"auth":"<?php echo WF_BASEURL; ?>/?app=remoteStorage&getfile=auth.php&userid=<?php echo WF_USER; ?>"
}
<?php } ?>