mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Add isset check on check_login to prevent undefined errors
This commit is contained in:
@@ -16,7 +16,7 @@ if(!isset($config_enable_setup) || $config_enable_setup == 1){
|
||||
exit;
|
||||
}
|
||||
|
||||
if(!$_SESSION['logged']){
|
||||
if(!isset($_SESSION['logged']) || !$_SESSION['logged']){
|
||||
header("Location: login.php");
|
||||
die;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user