diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-21 11:12:27 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-21 11:12:27 -0400 |
commit | 871dcac8912f9aed8ba474da4a7c741a0d2e8b42 (patch) | |
tree | f490223e1159d7d219e21efb43cc848f1567ef7a | |
parent | 7352cab8ee8dd37c76ac2492695cc4c347d9564c (diff) |
full path for avatars
darcs-hash:20080521151227-84dde-a4fdacd42dc9be7aa83646f589942931542da73f.gz
-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) { |