diff options
author | Friendika <info@friendika.com> | 2011-04-14 19:43:00 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-14 19:43:00 -0700 |
commit | b5ccb8e2055bf08d282ebb0cba2cac0d850fdc5a (patch) | |
tree | bfc079466afcf1a0000ba24d42657f1355c203a6 /include | |
parent | de131c9e58ac2b14380d145d643bf2bd902ae9dc (diff) | |
download | volse-hubzilla-b5ccb8e2055bf08d282ebb0cba2cac0d850fdc5a.tar.gz volse-hubzilla-b5ccb8e2055bf08d282ebb0cba2cac0d850fdc5a.tar.bz2 volse-hubzilla-b5ccb8e2055bf08d282ebb0cba2cac0d850fdc5a.zip |
ensure host xrd is correct, even if installed in subpath
Diffstat (limited to 'include')
-rw-r--r-- | include/hostxrd.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hostxrd.php b/include/hostxrd.php index 9161b265c..987175c33 100644 --- a/include/hostxrd.php +++ b/include/hostxrd.php @@ -1,10 +1,10 @@ <?php -function hostxrd($hostname) { +function hostxrd($baseurl) { header("Content-type: text/xml"); $tpl = file_get_contents('view/xrd_host.tpl'); - echo str_replace('$domain',$hostname,$tpl); + echo str_replace('$domain',$baseurl,$tpl); session_write_close(); exit(); |