Tipask_v2.5_UTF8_20140606与UCenter_1.6.0_SC_UTF8整合完毕后,无法显示头像的解决!
无法显示头像的截图,在活跃用户页面,http://zhidao.hmwis.com/user/activelist.html:
解决方案:
lib/global.func.php
function get_avatar_dir
//return $setting[‘ucenter_url’] . ‘/avatar.php?uid=’ . $uid . ‘&size=middle’;
@include TIPASK_ROOT . ‘/data/ucconfig.inc.php’;
return UC_API . ‘/avatar.php?uid=’ . $uid . ‘&size=middle’;
原因在于:$setting[‘ucenter_url’]为空的!
解决之后,截图如下:
近期评论