diff options
author | Friendika <info@friendika.com> | 2011-08-01 21:02:25 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-01 21:02:25 -0700 |
commit | 2637831d9056862f7c3db718702116ef4652629a (patch) | |
tree | 2ee4076e6aeec3f79c64152abcce0ec284ef295f /include/hostxrd.php | |
parent | 8b31ff15f51c6936daedf28cc88c753214b569e0 (diff) | |
download | volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.gz volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.bz2 volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.zip |
some more zot changes migrating back to f9a mainline
Diffstat (limited to 'include/hostxrd.php')
-rw-r--r-- | include/hostxrd.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/hostxrd.php b/include/hostxrd.php index 7040f927d..18c3e4b1e 100644 --- a/include/hostxrd.php +++ b/include/hostxrd.php @@ -1,11 +1,10 @@ <?php -function hostxrd($baseurl) { - +function hostxrd() { header('Access-Control-Allow-Origin: *'); header("Content-type: text/xml"); $tpl = file_get_contents('view/xrd_host.tpl'); - echo str_replace('$domain',$baseurl,$tpl); + echo str_replace(array('$zroot','$domain'),array(z_root(),z_path()),$tpl); session_write_close(); exit(); |