mirror of
https://github.com/itflow-org/itflow
synced 2026-03-02 20:04: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;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$_SESSION['logged']){
|
if(!isset($_SESSION['logged']) || !$_SESSION['logged']){
|
||||||
header("Location: login.php");
|
header("Location: login.php");
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user