$_SERVER]); return; } } $arr = Probe::uri($url); if (is_null($result)) { Cache::set("gprobe:".$urlparts["host"], $arr); } if (!in_array($arr["network"], [Protocol::FEED, Protocol::PHANTOM])) { GContact::update($arr); } $r = q( "SELECT `id`, `url`, `network` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 1", DBA::escape(Strings::normaliseLink($url)) ); } if (DBA::isResult($r)) { // Check for accessibility and do a poco discovery if (GContact::updateFromProbe($r[0]['url'], true) && ($r[0]["network"] == Protocol::DFRN)) { PortableContact::loadWorker(0, 0, $r[0]['id'], str_replace('/profile/', '/poco/', $r[0]['url'])); } } Logger::log("gprobe end for ".Strings::normaliseLink($url), Logger::DEBUG); return; } }