aboutsummaryrefslogtreecommitdiffstats
path: root/mod/hostxrd.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-18 01:35:09 -0700
committerredmatrix <git@macgirvin.com>2016-04-18 01:35:09 -0700
commit1698732cffab2f625c16a1d8d1227497a0965d43 (patch)
tree44d6802923840e34495cfeb6aef24ec4cfebf334 /mod/hostxrd.php
parenta9f68e4d2ac9b585b09b29c2663709e6d42c286c (diff)
downloadvolse-hubzilla-1698732cffab2f625c16a1d8d1227497a0965d43.tar.gz
volse-hubzilla-1698732cffab2f625c16a1d8d1227497a0965d43.tar.bz2
volse-hubzilla-1698732cffab2f625c16a1d8d1227497a0965d43.zip
convert all the _well_known service controllers which are a bit touchy when it comes to the router
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();
-}