We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f1990 commit b26f8aaCopy full SHA for b26f8aa
public_html/lists/admin/connect.php
@@ -503,10 +503,14 @@ function Fatal_Error($msg, $documentationURL = '')
503
$_SESSION['fatalerror'] = 0;
504
}
505
++$_SESSION['fatalerror'];
506
- header('HTTP/1.0 509 Fatal error');
+ header('HTTP/1.0 500 Fatal error');
507
if ($_SESSION['fatalerror'] > 5) {
508
$_SESSION['logout_error'] = s('Too many errors, please login again');
509
+ $_SESSION['adminloggedin'] = '';
510
+ $_SESSION['logindetails'] = '';
511
+ session_destroy();
512
Redirect('logout&err=2');
513
+ exit;
514
515
516
if ($GLOBALS['commandline']) {
0 commit comments