aboutsummaryrefslogtreecommitdiffstats
path: root/mod/hostxrd.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/hostxrd.php')
-rw-r--r--mod/hostxrd.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/hostxrd.php b/mod/hostxrd.php
index 0e18c133b..0e19d8af6 100644
--- a/mod/hostxrd.php
+++ b/mod/hostxrd.php
@@ -7,11 +7,12 @@ function hostxrd_init(&$a) {
$tpl = get_markup_template('xrd_host.tpl');
$x = replace_macros(get_markup_template('xrd_host.tpl'), array(
- '$zhost' => $a->get_hostname(),
+ '$zhost' => App::get_hostname(),
'$zroot' => z_root()
));
$arr = array('xrd' => $x);
call_hooks('hostxrd',$arr);
+
echo $arr['xrd'];
killme();
}