make remote homelink link to the home host and not to the home channel
This commit is contained in:
parent
fbc2bb02b4
commit
48be6ad5c4
@ -176,13 +176,15 @@ EOT;
|
||||
|
||||
}
|
||||
|
||||
|
||||
$homelink = get_my_url();
|
||||
if(! $homelink) {
|
||||
$my_url = get_my_url();
|
||||
if(! $my_url) {
|
||||
$observer = App::get_observer();
|
||||
$homelink = (($observer) ? $observer['xchan_url'] : '');
|
||||
$my_url = (($observer) ? $observer['xchan_url'] : '');
|
||||
}
|
||||
|
||||
$homelink_arr = parse_url($my_url);
|
||||
$homelink = $homelink_arr['scheme'] . '://' . $homelink_arr['host'];
|
||||
|
||||
if(! $is_owner) {
|
||||
$nav['rusermenu'] = array(
|
||||
$homelink,
|
||||
|
Reference in New Issue
Block a user