X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FDirectory.php;h=bb8041a2251e0e919b231ff623d6c9d2afa948cd;hb=38cf0666bd7a6537a5a6af19b5bd6073ef12e82f;hp=7b098bc9480a68e83f5c22fe545e95158ec40cd4;hpb=f6faae5bb10299c81ab4ca2e94463246e47cacf7;p=friendica.git diff --git a/src/Worker/Directory.php b/src/Worker/Directory.php index 7b098bc948..bb8041a225 100644 --- a/src/Worker/Directory.php +++ b/src/Worker/Directory.php @@ -1,6 +1,6 @@ get('system', 'directory'); + $dir = Search::getGlobalDirectory(); if (!strlen($dir)) { return; @@ -53,7 +55,7 @@ class Directory Logger::info('Updating directory: ' . $arr['url']); if (strlen($arr['url'])) { - DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url'])); + DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), HttpClientAccept::HTML); } return;