diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/index.php | 8 |
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; |