blob: 5c5f6585f279307eb2faac4126618d55a9a02593 (
plain) (
tree)
|
|
<?php
function _well_known_init(&$a){
if(argc() > 1) {
switch(argv(1)) {
case "host-meta":
require_once('mod/hostxrd.php');
hostxrd_init($a);
break;
case 'zot-info':
$a->argc -= 1;
array_shift($a->argv);
$a->argv[0] = 'zfinger';
require_once('mod/zfinger.php');
zfinger_init($a);
break;
}
}
http_status_exit(404);
}
|