From 0a097b833750ad8941dba03e6821c13facebd597 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 2 Apr 2014 14:56:20 -0700 Subject: snakebite: bring back some of the legacy XML discovery interfaces, update as required. --- mod/hostxrd.php | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'mod/hostxrd.php') diff --git a/mod/hostxrd.php b/mod/hostxrd.php index 0a66dcc84..ef86f2dd9 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -1,28 +1,16 @@ $a->get_hostname(), - '$zroot' => z_root(), - '$domain' => z_path(), - '$zot_post' => z_root() . '/post', - '$bigkey' => salmon_key(get_config('system','site_pubkey')), + '$zroot' => z_root() )); - session_write_close(); - exit(); - + $arr = array('xrd' => $x); + call_hooks('hostxrd',$arr); + echo $arr['xrd']; + killme(); } -- cgit v1.2.3