resolve file inclusion conflicts w/ multiple plugins, improve the typo checker
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user