]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
full path for avatars
authorEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 15:12:27 +0000 (11:12 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 15:12:27 +0000 (11:12 -0400)
darcs-hash:20080521151227-84dde-a4fdacd42dc9be7aa83646f589942931542da73f.gz

lib/util.php

index 052f35fdd950b6b1439cd91ed723b7b72dda6c5b..31bf0de1f755c183ffa4b64855081f980e69cd9c 100644 (file)
@@ -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) {