blob: 18c3e4b1edbe3aab983a92648199265564a4d2c1 (
plain) (
tree)
|
|
<?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();
}
|