Improved server detection / gsid introduced

This commit is contained in:
Michael 2020-05-22 04:19:32 +00:00
parent a77c0194dc
commit 95b4f35a12
6 changed files with 412 additions and 51 deletions

View file

@ -291,6 +291,10 @@ class APContact
$apcontact['baseurl'] = null;
}
if (!empty($apcontact['baseurl'])) {
$apcontact['gsid'] = GServer::getID($apcontact['baseurl']);
}
if ($apcontact['url'] == $apcontact['alias']) {
$apcontact['alias'] = null;
}