diff options
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 052f35fdd..31bf0de1f 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) { |