From d9a46ee41d074e75c01c4407c803e116ea5f8a59 Mon Sep 17 00:00:00 2001 From: Roelof Date: Wed, 21 Mar 2018 16:15:26 +0100 Subject: [PATCH 1/2] Hotfix-1.3.1 - Fixed redirect loop on root index.php --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index ffd7338..0caa421 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@ } // At the top of the page we check to see whether the user is logged in or not - if(!empty($_SESSION[SES_NAME])) + if(empty($_SESSION[SES_NAME])) { header("Location: ".URL_ROOT); } From 53416a540ba1372517ee6189ab1d87260550d34a Mon Sep 17 00:00:00 2001 From: Roelof Date: Wed, 21 Mar 2018 16:20:53 +0100 Subject: [PATCH 2/2] Revert "Hotfix-1.3.1" --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 0caa421..ffd7338 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@ } // At the top of the page we check to see whether the user is logged in or not - if(empty($_SESSION[SES_NAME])) + if(!empty($_SESSION[SES_NAME])) { header("Location: ".URL_ROOT); }