Project

General

Profile

« Previous | Next » 

Revision 1e2cb1f8

Added by Jim Pingle almost 12 years ago

No need to treat PHP errors as a crash on -RELEASE for now.

View differences:

usr/local/www/index.php
67 67
if($g['disablecrashreporter'] != true) {
68 68
	// Check to see if we have a crash report
69 69
	$x = 0;
70
	if(file_exists("/tmp/PHP_errors.log")) {
71
		$total = `/usr/bin/grep -vi warning /tmp/PHP_errors.log | /usr/bin/wc -l | /usr/bin/awk '{ print $1 }'`;
72
		if($total > 0)
73
			$x++;
74
	}
75 70
	$crash = glob("/var/crash/*");
76 71
	$skip_files = array(".", "..", "minfree", "");
77 72
	if(is_array($crash)) {

Also available in: Unified diff