aboutsummaryrefslogtreecommitdiffstats
path: root/mod/hostxrd.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-19 02:13:59 -0700
committerFriendika <info@friendika.com>2011-09-19 02:13:59 -0700
commit0a30a91b14c8887db668d74759953405f02d4e65 (patch)
tree5abe63464ced99ea7f6b7dcaa105f1946b85634b /mod/hostxrd.php
parent2aef98f71d95ba5c2caae7637002daef0bce6de5 (diff)
downloadvolse-hubzilla-0a30a91b14c8887db668d74759953405f02d4e65.tar.gz
volse-hubzilla-0a30a91b14c8887db668d74759953405f02d4e65.tar.bz2
volse-hubzilla-0a30a91b14c8887db668d74759953405f02d4e65.zip
basic zot discovery framework
Diffstat (limited to 'mod/hostxrd.php')
-rw-r--r--mod/hostxrd.php3
1 files changed, 2 insertions, 1 deletions
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();