Took 4 hours 1 minute
This commit is contained in:
Christopher
2023-07-11 18:23:23 +02:00
parent e7dd0b2fd6
commit eb805a994b
26 changed files with 1005 additions and 120 deletions
+3 -1
View File
@@ -3,10 +3,12 @@
require "vendor/blog-engine/php/Authentication/AuthController.php";
use BlogEngine\Authentication\AuthController;
session_start();
$auth = new AuthController();
$conn = $auth->Connection();
if(!isset($_COOKIE['uToken_BE']))
if(!isset($_SESSION['uToken_BE']))
header("location: be_login.php");
$site = ($_GET['s'] ?? "home");