该问题已被锁定!
4
关注
2933
浏览

自动给wecenter_report@outlook.com发邮件,后台如何关闭?

AI智能回复搜索中,请稍后...

查看全部 2 个回答

no_reg 高级会员 用户来自于: 广东省深圳市
2016-05-13 08:36
后台?/admin/settings/category-functions 后面有个“发送诊断数据帮助改善产品:”,选择否就好。 也可以在代码中屏蔽,打开system/function.inc.php,找到
function show_error($exception_message, $error_message = '')
{
	@ob_end_clean();

	if (get_setting('report_diagnostics') == 'Y' AND class_exists('AWS_APP', false))
	{
		AWS_APP::mail()->send('wecenter_report@outlook.com', '[' . G_VERSION . '][' . G_VERSION_BUILD . '][' . base_url() . ']' . $error_message, nl2br($exception_message), get_setting('site_name'), 'WeCenter');
	}

	echo _show_error($exception_message);
	exit;
}
if (get_setting('report_diagnostics') == 'Y' AND class_exists('AWS_APP', false))
	{
		AWS_APP::mail()->send('wecenter_report@outlook.com', '[' . G_VERSION . '][' . G_VERSION_BUILD . '][' . base_url() . ']' . $error_message, nl2br($exception_message), get_setting('site_name'), 'WeCenter');
	}
这一段删了。

关于作者

暮山 初级会员

这家伙很懒,还没有设置简介

问题动态

发布时间
2016-05-04 12:25
更新时间
2016-05-13 08:36
关注人数
4 人关注

相关问题

推荐内容

如何调用其他问答站的问题,有专用的api吗?
请问该如何统计附件的下载次数?
2.1版本后台的用户列表设置出现错误提示
首页这个可能感兴趣的人是怎么做的
写了一个变栏调用最新文章,但在文章页面调不出来,求大神排错!!!
user_action_history和user_action_history_data两个表突破100,000要多长时间?
关于wecenter 和 其他系统可能会出现冲突的问题
腾讯云检测出sql注入漏洞
建议wecenter发起站长团购?
手机端可以看到网站所有用户,是漏洞吗?