1
0
Fork 0

Redirect after logout

master
Anonymous Contributor 2023-08-23 18:16:34 +02:00
parent c4ce814333
commit d81e48fc12
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ if ($handle = opendir('./plugins/')) {
if(isset($_REQUEST['logout']) && $_REQUEST['logout'] == '1') { if(isset($_REQUEST['logout']) && $_REQUEST['logout'] == '1') {
$_SESSION = array(); $_SESSION = array();
header('Location: index.php');
} }
if(isset($_SESSION['LOGIN']) && $_SESSION['LOGIN'] == 'true') { if(isset($_SESSION['LOGIN']) && $_SESSION['LOGIN'] == 'true') {