|
|
|
[ol]/*修改此处 count($_CACHE['apps']) 大于 0 不是大于 1 */function uc_user_synlogin($uid) { $uid = intval($uid); if(@include UC_ROOT.'./data/cache/apps.php') { if(count($_CACHE['apps']) > 0/*源码为1*/) { $return = uc_api_post('user', 'synlogin', array('uid'=>$uid)); } else { $return = ''; } } return $return;}/*修改此处 count($_CACHE['apps']) 大于 0 不是大于 1 */function uc_user_synlogout() { if(@include UC_ROOT.'./data/cache/apps.php') { if(count($_CACHE['apps']) > 0) { $return = uc_api_post('user', 'synlogout', array()); } else { $return = ''; } } return $return;}[/ol]复制代码 |
|