多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 安装使用步骤 - 上传你的代码到服务器。(服务器的配置可以参考:[博客](http://blog.csdn.net/ityang_/article/)) 工具:[WinSCP](https://www.baidu.com/link?url=2YLg_ZjyTsLLQjT5L22_Z8XG-G7LwdpMVTPIDqDs7cu1fKMejOLK46xg5xvec9Qqa-aKS8P-1YP8uu1_IMs9IcVmuTU0xJdhuUMTBVLa0V3&wd=&eqid=c9944b1600001a930000000358b4e993) - 还原数据库,将数据库sql文件还原到MySQL服务器中。 - 修改网站配置文件。 - 在config/config_global.php 中修改成自己服务器的账号信息。 ~~~ /* 数据库配置 */ $_config['db']['1']['dbhost'] = '127.0.0.1'; $_config['db']['1']['dbuser'] = 'root'; $_config['db']['1']['dbpw'] = 'root'; $_config['db']['1']['dbcharset'] = 'utf8'; $_config['db']['1']['pconnect'] = '0'; $_config['db']['1']['dbname'] = 'bbs'; $_config['db']['1']['tablepre'] = 'pre_'; $_config['db']['slave'] = ''; $_config['db']['common']['slave_except_table'] = ''; ~~~ - connect_fl.php中配置用户中心地址: ~~~ define('APP_ID','123456'); //默认钥匙id define('APP_SK',"123456"); //默认钥匙密钥 define('THIS_DOMIAN',"http://bbs.web.cn/"); //社区地址 define('USER_SERVER','http://account.web.cn/'); //用户中心地址 define('LOGIN_SERVER','http://account.web.cn/ucenter/member/login'); //用户中心登录地址 define('REG_SERVER','http://account.web.cn/ucenter/member/register'); //用户中心注册地址 define('CAll_BACK_URL','http://bbs.web.cn/connect_fl.php?mod=callback'); //用户中心回调地址 ~~~ - 账户信息 > 普通用户通过用户中心授权登录社区 > 网站超级管理员设置后台地址:http://bbs.xx.com/admin.php 用户名: admin 密码:112233