From: Evan Prodromou Date: Wed, 21 May 2008 15:12:27 +0000 (-0400) Subject: full path for avatars X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=871dcac8912f9aed8ba474da4a7c741a0d2e8b42;p=quix0rs-gnu-social.git full path for avatars darcs-hash:20080521151227-84dde-a4fdacd42dc9be7aa83646f589942931542da73f.gz --- diff --git a/lib/util.php b/lib/util.php index 052f35fdd9..31bf0de1f7 100644 --- a/lib/util.php +++ b/lib/util.php @@ -358,7 +358,7 @@ function common_avatar_path($filename) { function common_avatar_url($filename) { global $config; - return $config['avatar']['path'] . '/' . $filename; + return "http://".$config['site']['server'].$config['avatar']['path'].'/'.$filename; } function common_local_url($action, $args=NULL) {