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

This commit is contained in:
Esteban committed 2026-06-05 11:13:53 +02:00
1 parent 2e3ac1718b
commit b0bcd9243a
3 files changed
+37

No files matched your search

+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>