mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
just hostname not url in hm:host - host xrd document
This commit is contained in:
parent
a1786cbf61
commit
bedb4eb715
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ function hostxrd_init(&$a) {
|
|||
|
||||
$tpl = file_get_contents('view/xrd_host.tpl');
|
||||
echo str_replace(array(
|
||||
'$zroot','$domain','$zot_post','$bigkey'),array(z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl);
|
||||
'$zhost','$zroot','$domain','$zot_post','$bigkey'),array($a->get_hostname(),z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl);
|
||||
session_write_close();
|
||||
exit();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue