aboutsummaryrefslogtreecommitdiffstats
path: root/include/hostxrd.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-04-18 16:58:20 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-04-18 16:58:20 +0200
commitee1641393550eea9200f792707070e024879d466 (patch)
treeee9e19d380cdf4fee74d4b7c1fa323098c72b93b /include/hostxrd.php
parent62dbfffe399333cd4a792cc77256a2bcd689a14f (diff)
parent741a262f1b2d5c8f911896da32e80d543afb5cd1 (diff)
downloadvolse-hubzilla-ee1641393550eea9200f792707070e024879d466.tar.gz
volse-hubzilla-ee1641393550eea9200f792707070e024879d466.tar.bz2
volse-hubzilla-ee1641393550eea9200f792707070e024879d466.zip
Merge remote-tracking branch 'friendika-master/master'
Diffstat (limited to 'include/hostxrd.php')
-rw-r--r--include/hostxrd.php4
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();