diff options
author | Friendika <info@friendika.com> | 2011-02-21 20:19:33 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-21 20:19:33 -0800 |
commit | 5f2f64406407839d0a9d906e0ad165067d90d130 (patch) | |
tree | 08734b4cd12d7c66756bcde3d5bf9cf1ad32c67e /include/hostxrd.php | |
parent | d124c67322b8f79f18152d6f24394b3a38b4e0f5 (diff) | |
download | volse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.tar.gz volse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.tar.bz2 volse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.zip |
resolve file inclusion conflicts w/ multiple plugins, improve the typo checker
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 |