mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Redirect to crash reporter if a crash exists for processing. The crash reporter will either upload the data per the operators consent and or delete the data afterwards and redirect back.
This commit is contained in:
parent
49c8f9640f
commit
812ed2bb4c
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user