aboutsummaryrefslogtreecommitdiffstats
path: root/include/hostxrd.php
blob: 987175c33164ff7336c9a53259409ab70168314d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<?php

function hostxrd($baseurl) {

	header("Content-type: text/xml");
	$tpl = file_get_contents('view/xrd_host.tpl');
	echo str_replace('$domain',$baseurl,$tpl);
	session_write_close();
	exit();

}