wrong path for defaults

darcs-hash:20080521155849-84dde-97b8533a4c70f8f2494632bbb3044bb103270098.gz
This commit is contained in:
Evan Prodromou 2008-05-21 11:58:49 -04:00
parent 2db61d15a0
commit 8bfc5bbc9f

View File

@ -373,7 +373,7 @@ function common_default_avatar($size) {
AVATAR_STREAM_SIZE => 'stream',
AVATAR_MINI_SIZE => 'mini');
global $config;
return "http://".$config['site']['server'].$config['avatar']['path'].'/'.$config['avatar']['default'][$sizenames[$size]];
return "http://".$config['site']['server'].$config['site']['path'].'/'.$config['avatar']['default'][$sizenames[$size]];
}
function common_local_url($action, $args=NULL) {