diff --git a/boot.php b/boot.php index 24f9652835..07fa64bbc1 100644 --- a/boot.php +++ b/boot.php @@ -8,7 +8,7 @@ require_once("include/pgettext.php"); require_once('include/nav.php'); define ( 'FRIENDIKA_PLATFORM', 'Free Friendika'); -define ( 'FRIENDIKA_VERSION', '2.3.1117' ); +define ( 'FRIENDIKA_VERSION', '2.3.1118' ); define ( 'DFRN_PROTOCOL_VERSION', '2.21' ); define ( 'DB_UPDATE_VERSION', 1092 ); diff --git a/mod/hostxrd.php b/mod/hostxrd.php index a1c24765b4..fe61a874c3 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -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(); diff --git a/view/xrd_host.tpl b/view/xrd_host.tpl index ee34c1e468..dbb20256f9 100644 --- a/view/xrd_host.tpl +++ b/view/xrd_host.tpl @@ -2,7 +2,7 @@ - $zroot + $zhost