server/apps/remoteStorage/appinfo/webfinger.php
2012-05-11 15:26:45 +02:00

8 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 } ?>