friendica-github/mod/_well_known.php
2012-12-28 14:51:50 -07:00

14 lines
286 B
PHP

<?php
require_once("mod/hostxrd.php");
function _well_known_init(&$a){
if ($a->argc > 1) {
switch($a->argv[1]) {
case "host-meta":
hostxrd_init($a);
break;
}
}
http_status_exit(404);
killme();
}