diff options
Diffstat (limited to 'include/hostxrd.php')
-rw-r--r-- | include/hostxrd.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/hostxrd.php b/include/hostxrd.php index f8c398927..9161b265c 100644 --- a/include/hostxrd.php +++ b/include/hostxrd.php @@ -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(); + +}
\ No newline at end of file |