]> git.mxchange.org Git - friendica.git/blob - include/hostxrd.php
basic file upload/attach
[friendica.git] / include / hostxrd.php
1 <?php
2
3 function hostxrd($baseurl) {
4
5         header("Content-type: text/xml");
6         $tpl = file_get_contents('view/xrd_host.tpl');
7         echo str_replace('$domain',$baseurl,$tpl);
8         session_write_close();
9         exit();
10
11 }