Created Custom Session System and Updated Admin Section to new System

This commit is contained in:
SiskelDev committed 2025-07-19 15:57:10 +02:00
1 parent 1c73557ae4
commit faa65803f2
8 files changed
+188 -11

No files matched your search

+9 -1
View File
@@ -1,9 +1,17 @@
<?php
session_start();
/*session_start();
if (!isset($_SESSION["login"]) && $_SESSION["login"] != "true-as-hell") {
header("Location: login.php");
die();
}*/
require_once("/var/www/furatalog/data/script/furatalog.sessions.php");
$fs = new furatalogSessions();
if (($fs->getSessionData("login") == null) && ($fs->getSessionData("login") != "true-as-hell")) {
header("Location: login.php");
die();
}
if (isset($_GET["url"])) {