aboutsummaryrefslogtreecommitdiffstats
path: root/mod/hostxrd.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/hostxrd.php')
-rw-r--r--mod/hostxrd.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/mod/hostxrd.php b/mod/hostxrd.php
deleted file mode 100644
index 0e19d8af6..000000000
--- a/mod/hostxrd.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-function hostxrd_init(&$a) {
- header('Access-Control-Allow-Origin: *');
- header("Content-type: application/xrd+xml");
- logger('hostxrd',LOGGER_DEBUG);
-
- $tpl = get_markup_template('xrd_host.tpl');
- $x = replace_macros(get_markup_template('xrd_host.tpl'), array(
- '$zhost' => App::get_hostname(),
- '$zroot' => z_root()
- ));
- $arr = array('xrd' => $x);
- call_hooks('hostxrd',$arr);
-
- echo $arr['xrd'];
- killme();
-}