AI智能回复搜索中,请稍后...
2 回答
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'); }这一段删了。