X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fgprobe.php;h=788a9eb0447fef3ca489dfb0b26cbbbd90380092;hb=0cd9db9cb7f4c96f597e37590a536eaae123238d;hp=55ce4c70615a37b628a5bff563d95fdd93773bcd;hpb=1c38540f20b3207a0fd09ef0802125e45e83bcf6;p=friendica.git diff --git a/include/gprobe.php b/include/gprobe.php index 55ce4c7061..788a9eb044 100644 --- a/include/gprobe.php +++ b/include/gprobe.php @@ -2,9 +2,9 @@ use Friendica\Core\Config; -require_once('include/Scrape.php'); -require_once('include/socgraph.php'); -require_once('include/datetime.php'); +require_once 'include/probe.php'; +require_once 'include/socgraph.php'; +require_once 'include/datetime.php'; function gprobe_run(&$argv, &$argc){ if ($argc != 2) { @@ -47,7 +47,7 @@ function gprobe_run(&$argv, &$argc){ } if (dbm::is_result($r)) { // Check for accessibility and do a poco discovery - if (poco_last_updated($r[0]['url'], true) AND ($r[0]["network"] == NETWORK_DFRN)) + if (poco_last_updated($r[0]['url'], true) && ($r[0]["network"] == NETWORK_DFRN)) poco_load(0,0,$r[0]['id'], str_replace('/profile/','/poco/',$r[0]['url'])); }