full path for avatars

darcs-hash:20080521151227-84dde-a4fdacd42dc9be7aa83646f589942931542da73f.gz
This commit is contained in:
Evan Prodromou 2008-05-21 11:12:27 -04:00
parent 7352cab8ee
commit 871dcac891

View File

@ -358,7 +358,7 @@ function common_avatar_path($filename) {
function common_avatar_url($filename) { function common_avatar_url($filename) {
global $config; global $config;
return $config['avatar']['path'] . '/' . $filename; return "http://".$config['site']['server'].$config['avatar']['path'].'/'.$filename;
} }
function common_local_url($action, $args=NULL) { function common_local_url($action, $args=NULL) {