把:define('UC_CONNECT', 'mysql'); // 连接 UCenter 的方式: mysql/NULL, 默认为空时为 fscoketopen() 改为一下
define('UC_CONNECT', 'NULL'); // 连接 UCenter 的方式: mysql/NULL, 默认为空时为 fscoketopen() 很重要
 一定要注意config.inc.php里的一下变量
define('UC_API', 'http://www.xxxx.xx/uc'); // UCenter 的 URL 地址,在调用头像时依赖此常量
在调用头像时依赖此常量,在同步时依然是依靠此常量,否则在帝国上可以注册但不能登录还会出错。
|