remove special case for /.well-known/host-meta and add module for /.well-known

This commit is contained in:
Fabrixxm 2012-07-27 08:58:27 -04:00
commit a77fdfa6aa
2 changed files with 15 additions and 10 deletions

14
mod/_well_known.php Normal file
View file

@ -0,0 +1,14 @@
<?php
require_once("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();
}