mirror of https://github.com/itflow-org/itflow
Add isset check on check_login to prevent undefined errors
This commit is contained in:
parent
2c1f760ce0
commit
fb5a27843c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue