Fix Ignoring session_start() because a session is already active added action menu under contacts
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
header("Location: setup.php");
|
||||
}
|
||||
|
||||
session_start();
|
||||
if(!isset($_SESSION)){
|
||||
session_start();
|
||||
}
|
||||
|
||||
if(!$_SESSION['logged']){
|
||||
header("Location: logout.php");
|
||||
|
||||
Reference in New Issue
Block a user