微赞不能安装模块原因 解决方法

打开\framework\model\cloud.mod.php 找到第23行代码

if(empty($_W['setting']['site']['key']) || empty($_W['setting']['site']['token'])) {

return error(‘-1′, “您的程序需要在微赞云服务平台注册你的站点资料, 来接入云平台服务后才能使用相应功能.”);

}

//if(empty($_W['setting']['site']['key']) || empty($_W['setting']['site']['token'])) {

// return error(‘-1′, “您的程序需要在微赞云服务平台注册你的站点资料, 来接入云平台服务后才能使用相应功能.”);

//}

if ($dat['content'] == ‘install-module-protect’) {

return error(‘-1′, ‘此模块已设置版权保护,您只能通过云平台来安装。’);

}

if ($dat['content'] == ‘install-theme-protect’) {

return error(‘-1′, ‘此模板已设置版权保护,您只能通过云平台来安装。’);

}

分别注释掉就可以了,当然你如果删除掉,也是可以的,但最好还是不要删除。

本文固定链接: http://www.idc-blog.com/?p=1151 | 网络菜鸟学习园地

该日志由 admin 于2017年07月30日发表在 建站交流 分类下,
原创文章转载请注明: 微赞不能安装模块原因 解决方法 | 网络菜鸟学习园地
关键字:

报歉!评论已关闭.