Some notices had been removed / expiring of item related tables in twitter (#643)

* Some notices had been removed / expiring of item related tables in twitter

* Some more ...
This commit is contained in:
Michael Vogel 2018-07-15 20:40:20 +02:00 committed by Hypolite Petovan
parent abd52dbadd
commit e74ccf35c9
6 changed files with 45 additions and 16 deletions

View file

@ -142,6 +142,10 @@ function leistungsschutzrecht_is_member_site($url) {
return false;
}
if (count($hostname) <= 2) {
return false;
}
$site = $hostname[sizeof($hostname) - 2].".".$hostname[sizeof($hostname) - 1];
return (isset($sites[$site]));