full path for avatars
darcs-hash:20080521151227-84dde-a4fdacd42dc9be7aa83646f589942931542da73f.gz
This commit is contained in:
parent
7352cab8ee
commit
871dcac891
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user