Fix Ignoring session_start() because a session is already active added action menu under contacts

This commit is contained in:
johnny@pittpc.com
2021-02-04 13:40:33 -05:00
parent ca8405f39d
commit 17710cf6b8
3 changed files with 20 additions and 10 deletions

View File

@@ -4,7 +4,9 @@
header("Location: setup.php");
}
session_start();
if(!isset($_SESSION)){
session_start();
}
if(!$_SESSION['logged']){
header("Location: logout.php");