From 0a30a91b14c8887db668d74759953405f02d4e65 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 19 Sep 2011 02:13:59 -0700 Subject: basic zot discovery framework --- mod/hostxrd.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/hostxrd.php') diff --git a/mod/hostxrd.php b/mod/hostxrd.php index c7861d26d..1cc18da7a 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -4,7 +4,8 @@ function hostxrd_init(&$a) { header('Access-Control-Allow-Origin: *'); header("Content-type: text/xml"); $tpl = file_get_contents('view/xrd_host.tpl'); - echo str_replace(array('$zroot','$domain'),array(z_root(),z_path()),$tpl); + echo str_replace(array( + '$zroot','$domain','$zot_post'),array(z_root(),z_path(),z_root() . '/post'),$tpl); session_write_close(); exit(); -- cgit v1.2.3