friendica/include/hostxrd.php

6 lines
139 B
PHP

<?php
$tpl = file_get_contents('view/xrd_host.tpl');
echo str_replace('$domain',$this->hostname,$tpl);
session_write_close();
exit();