diff --git a/usr/local/www/index.php b/usr/local/www/index.php index c1fdc26062..1ea8e5bd91 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -42,6 +42,14 @@ ##|*MATCH=index.php* ##|-PRIV +$crash = glob("/var/crash/*"); +if(is_array($crash)) { + if(count($crash) > 0) { + Header("Location: /crash_reporter.php"); + exit; + } +} + // Turn off csrf for the dashboard $nocsrf = true;