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

function hostxrd() {
	header('Access-Control-Allow-Origin: *');
	header("Content-type: text/xml");
	$tpl = file_get_contents('view/xrd_host.tpl');
	echo str_replace(array('$zroot','$domain'),array(z_root(),z_path()),$tpl);
	session_write_close();
	exit();

}