commit
82ab0c8504
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class ActivityPub
|
||||||
$limited = DI::config()->get('system', 'limited_servers');
|
$limited = DI::config()->get('system', 'limited_servers');
|
||||||
if (!empty($limited)) {
|
if (!empty($limited)) {
|
||||||
$servers = explode(',', str_replace(' ', '', $limited));
|
$servers = explode(',', str_replace(' ', '', $limited));
|
||||||
$host = parse_url($contact['baseurl'], PHP_URL_HOST);
|
$host = parse_url($apcontact['baseurl'], PHP_URL_HOST);
|
||||||
if (!empty($host) && in_array($host, $servers)) {
|
if (!empty($host) && in_array($host, $servers)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue