Fix name in href in url
This commit is contained in:
@@ -22,7 +22,7 @@ class PluginRemotesupportRemotesupport extends CommonDBTM
|
||||
return true;
|
||||
}
|
||||
|
||||
$href = "https://" . $_SERVER['SERVER_ADDR'] . "/vnc.html?path=vnc%2F" . $a_computerextend['remote_addr'] . "&autoconnect=true&resize=scale&reconnect=true&show_dot=true";
|
||||
$href = "https://" . $_SERVER['SERVER_NAME'] . "/vnc.html?path=vnc%2F" . $a_computerextend['remote_addr'] . "&autoconnect=true&resize=scale&reconnect=true&show_dot=true";
|
||||
$name = $a_computerextend['remote_addr'];
|
||||
} else {
|
||||
$href = "vnc://" . $item->fields["name"];
|
||||
|
||||
Reference in New Issue
Block a user