From bedb4eb7150f8ccc48121a9512e9f591b27572a8 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 28 Sep 2011 15:07:01 -0700 Subject: just hostname not url in hm:host - host xrd document --- mod/hostxrd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/hostxrd.php') diff --git a/mod/hostxrd.php b/mod/hostxrd.php index a1c24765b..fe61a874c 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -32,7 +32,7 @@ function hostxrd_init(&$a) { $tpl = file_get_contents('view/xrd_host.tpl'); echo str_replace(array( - '$zroot','$domain','$zot_post','$bigkey'),array(z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl); + '$zhost','$zroot','$domain','$zot_post','$bigkey'),array($a->get_hostname(),z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl); session_write_close(); exit(); -- cgit v1.2.3