resolve file inclusion conflicts w/ multiple plugins, improve the typo checker

This commit is contained in:
Friendika
2011-02-21 20:19:33 -08:00
parent d124c67322
commit 5f2f644064
17 changed files with 59 additions and 1844 deletions

View File

@@ -1,6 +1,11 @@
<?php
function hostxrd($hostname) {
header("Content-type: text/xml");
$tpl = file_get_contents('view/xrd_host.tpl');
echo str_replace('$domain',$this->hostname,$tpl);
echo str_replace('$domain',$hostname,$tpl);
session_write_close();
exit();
}