changed all request to the new isset function

This commit is contained in:
SiskelDev committed 2025-07-19 16:23:56 +02:00
1 parent 4bed5d5f7c
commit 8090a7d850
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ if (isset($_POST["username"]) && isset($_POST["password"])) {
die();
}*/
if (!($fs->getSessionData("login") == null) && ($fs->getSessionData("login") == "true-as-hell")) {
if ($fs->issetSessionData("login") && ($fs->getSessionData("login") == "true-as-hell")) {
header("Location: index.php");
die();
}