- proc_run('php',"include/directory.php","$url");
-
- }
-
- $r = q("SELECT `url` FROM `contact` WHERE `self` AND `uid` = %d", intval(local_user()));
- if ($r) {
- $gcontact = array("name" => $username, "generation" => 1, "hide" => ($hidewall OR !$net_publish),
- "network" => NETWORK_DFRN, "url" => $r[0]["url"], "updated" => datetime_convert());
-
- update_gcontact($gcontact);