From d81e48fc12efacb671a1d32399f6a55d5711adbb Mon Sep 17 00:00:00 2001 From: Anonymous Contributor Date: Wed, 23 Aug 2023 18:16:34 +0200 Subject: [PATCH] Redirect after logout --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 27d9f32..23826f3 100644 --- a/index.php +++ b/index.php @@ -55,6 +55,7 @@ if ($handle = opendir('./plugins/')) { if(isset($_REQUEST['logout']) && $_REQUEST['logout'] == '1') { $_SESSION = array(); + header('Location: index.php'); } if(isset($_SESSION['LOGIN']) && $_SESSION['LOGIN'] == 'true') {