diff options
author | Friendika <info@friendika.com> | 2011-08-04 22:37:45 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-04 22:37:45 -0700 |
commit | 2abcf76ec17a9a7754c399cdde9a4449308a4b02 (patch) | |
tree | c1fb8a0aa1e1dc3f7cfe604694b23e633f81737e /mod/hostxrd.php | |
parent | 12d5482fc1703b66024ec432994c87ee9c1ea432 (diff) | |
download | volse-hubzilla-2abcf76ec17a9a7754c399cdde9a4449308a4b02.tar.gz volse-hubzilla-2abcf76ec17a9a7754c399cdde9a4449308a4b02.tar.bz2 volse-hubzilla-2abcf76ec17a9a7754c399cdde9a4449308a4b02.zip |
salmon protocol changes magicsig draft-experimental, fixes to hostxrd
Diffstat (limited to 'mod/hostxrd.php')
-rw-r--r-- | mod/hostxrd.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/hostxrd.php b/mod/hostxrd.php new file mode 100644 index 000000000..c7861d26d --- /dev/null +++ b/mod/hostxrd.php @@ -0,0 +1,11 @@ +<?php + +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); + session_write_close(); + exit(); + +}
\ No newline at end of file |