This commit is contained in:
2024-01-20 18:23:08 +01:00
parent 3c0387f26b
commit 8a6892f6ee
4 changed files with 7 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ require_once 'config.php';
// Check if user is logged in
if (!isset($_SESSION['user_id'])) {
include 'pages/login.html';
include 'login.php';
} else {
// Fetch user details
$user_id = $_SESSION['user_id'];