X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdirectory.php;h=6fd99256f0a80c06586c0f80b583ed150494526a;hb=5299f259202725644cdaa678ea174d55a5126b27;hp=cce281881850849a7e0abbc6730627f8ac0572ed;hpb=738fd3d309dffad3c98f069fd2c2130381683786;p=friendica.git diff --git a/mod/directory.php b/mod/directory.php index cce2818818..6fd99256f0 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -47,7 +47,7 @@ function directory_content(&$a) { $tpl = get_markup_template('directory_header.tpl'); $globaldir = ''; - $gdirpath = dirname(get_config('system','directory_submit_url')); + $gdirpath = get_config('system','directory'); if(strlen($gdirpath)) { $globaldir = ''; @@ -171,7 +171,7 @@ function directory_content(&$a) { $entry = replace_macros($tpl,array( '$id' => $rr['id'], '$profile_link' => $profile_link, - '$photo' => proxy_url($a->get_cached_avatar_image($rr[$photo])), + '$photo' => proxy_url($a->get_cached_avatar_image($rr[$photo]), false, PROXY_SIZE_THUMB), '$alt_text' => $rr['name'], '$name' => $rr['name'], '$details' => $pdesc . $details,