2 use \Friendica\Core\Config;
4 function directory_run(&$argv, &$argc){
9 $dir = get_config('system','directory');
17 $arr = array('url' => $argv[1]);
19 call_hooks('globaldir_update', $arr);
21 logger('Updating directory: ' . $arr['url'], LOGGER_DEBUG);
22 if (strlen($arr['url'])) {
23 fetch_url($dir . '?url=' . bin2hex($arr['url']));