disable this PHP error logging, errors that are really significant end up with a crash report, this is more noise than useful at this stage in 2.2.

This commit is contained in:
Chris Buechler 2015-01-09 00:17:10 -06:00
parent d97dd42437
commit ecefba29ec

View File

@ -924,8 +924,9 @@ function pfSense_clear_globals() {
if ( $error !== NULL) {
if ( $error['type'] != E_NOTICE ) {
$errorstr = "PHP ERROR: Type: {$error['type']}, File: {$error['file']}, Line: {$error['line']}, Message: {$error['message']}";
print($errorstr);
log_error($errorstr);
// XXX: comment out for now, should re-enable post-2.2
//print($errorstr);
//log_error($errorstr);
}
}