Ajout d'un panneau admin (non fonctionnel) et ajout d'une catégorie dans le header (foncitonnel)

This commit is contained in:
Esteban
2026-06-05 11:13:53 +02:00
parent 2e3ac1718b
commit b0bcd9243a
3 changed files with 37 additions and 0 deletions
+7
View File
@@ -6,6 +6,13 @@
// On ajoute ici le Header
require_once('./../elements/header.php');
// Si l'utilisateur est déjà connecté
if (isset($_SESSION['user_id'])){
header('Location: ../pages/home.php');
exit;
}
?>
<body>