]> git.mxchange.org Git - friendica.git/blob - mod/hostxrd.php
missing salmon key? report it.
[friendica.git] / mod / hostxrd.php
1 <?php
2
3 function hostxrd_init(&$a) {
4         header('Access-Control-Allow-Origin: *');
5         header("Content-type: text/xml");
6         $tpl = file_get_contents('view/xrd_host.tpl');
7         echo str_replace(array('$zroot','$domain'),array(z_root(),z_path()),$tpl);
8         session_write_close();
9         exit();
10
11 }