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

function hostxrd($hostname) {

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

}