summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/index.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index c1fdc26..1ea8e5b 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;
OpenPOWER on IntegriCloud