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

                              

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

}