1
0
Fork 0

salmon protocol changes magicsig draft-experimental, fixes to hostxrd

This commit is contained in:
Friendika 2011-08-04 22:37:45 -07:00
commit 2abcf76ec1
6 changed files with 51 additions and 18 deletions

View file

@ -1,11 +0,0 @@
<?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();
}