diff options
Diffstat (limited to 'mod/_well_known.php')
-rw-r--r-- | mod/_well_known.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/_well_known.php b/mod/_well_known.php index 6e77336c3..d88bc2391 100644 --- a/mod/_well_known.php +++ b/mod/_well_known.php @@ -3,6 +3,10 @@ function _well_known_init(&$a){
if(argc() > 1) {
+
+ $arr = array('server' => $_SERVER, 'request' => $_REQUEST);
+ call_hooks('well_known', $arr);
+
switch(argv(1)) {
case 'zot-info':
$a->argc -= 1;
@@ -20,6 +24,17 @@ function _well_known_init(&$a){ wfinger_init($a);
break;
+ case 'host-meta':
+ $a->argc -= 1;
+ array_shift($a->argv);
+ $a->argv[0] = 'hostxrd';
+ require_once('mod/hostxrd.php');
+ hostxrd_init($a);
+ break;
+
+ default:
+ break;
+
}
}
|