changed all request to the new isset function

This commit is contained in:
2025-07-19 16:23:56 +02:00
parent 4bed5d5f7c
commit 8090a7d850
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ if (!isset($_SESSION["login"]) && $_SESSION["login"] != "true-as-hell") {
require_once("/var/www/furatalog/data/script/furatalog.sessions.php");
$fs = new furatalogSessions();
if (($fs->getSessionData("login") == null) && ($fs->getSessionData("login") != "true-as-hell")) {
if (!$fs->issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) {
header("Location: login.php");
die();
}