aboutsummaryrefslogtreecommitdiffstats
path: root/include/hostxrd.php
diff options
context:
space:
mode:
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();