aboutsummaryrefslogblamecommitdiffstats
path: root/include/hostxrd.php
blob: 9161b265caecebfbb62f18a5ddec31b80e600648 (plain) (tree)
1
2
3
4
5
6
7
8
9
     


                             
                                         
                                                      
                                                   

                              

 
<?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();

}