summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-09-10 11:44:53 -0400
committerjim-p <jimp@pfsense.org>2013-09-10 11:44:53 -0400
commit1e2cb1f88e8a0b2ebeb745b0a7149852cb8d632b (patch)
tree7571960805ced2d54cc17b83608e55a33058e64c /usr/local/www/index.php
parentb832d61759dea24e995865c00bcbc241cb6affcd (diff)
downloadpfsense-1e2cb1f88e8a0b2ebeb745b0a7149852cb8d632b.zip
pfsense-1e2cb1f88e8a0b2ebeb745b0a7149852cb8d632b.tar.gz
No need to treat PHP errors as a crash on -RELEASE for now.
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 32ede55..1ef8f0f 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -67,11 +67,6 @@ if ($_REQUEST['act'] == 'alias_info_popup' && !preg_match("/\D/",$_REQUEST['alia
if($g['disablecrashreporter'] != true) {
// Check to see if we have a crash report
$x = 0;
- if(file_exists("/tmp/PHP_errors.log")) {
- $total = `/usr/bin/grep -vi warning /tmp/PHP_errors.log | /usr/bin/wc -l | /usr/bin/awk '{ print $1 }'`;
- if($total > 0)
- $x++;
- }
$crash = glob("/var/crash/*");
$skip_files = array(".", "..", "minfree", "");
if(is_array($crash)) {
OpenPOWER on IntegriCloud