]> git.mxchange.org Git - friendica.git/blob - mod/_well_known.php
API: Fetching the application name of the client.
[friendica.git] / mod / _well_known.php
1 <?php\r
2 require_once("mod/hostxrd.php");\r
3 \r
4 function _well_known_init(&$a){\r
5     if ($a->argc > 1) {\r
6         switch($a->argv[1]) {\r
7             case "host-meta":\r
8                 hostxrd_init($a);\r
9                 break;\r
10         }\r
11     }\r
12     http_status_exit(404);\r
13     killme();\r
14 }\r