diff --git a/html/admin.php b/html/admin.php index 56763e40..92368cf2 100644 --- a/html/admin.php +++ b/html/admin.php @@ -2,7 +2,7 @@ require "../include/variables.php"; require "../include/functions.php"; -if($_SESSION['role'] < 1) { +if($_SESSION['role'] < 3) { header("Location: index.php"); http_response_code(404); die(); diff --git a/html/compte.php b/html/compte.php index c700b680..be71bb03 100644 --- a/html/compte.php +++ b/html/compte.php @@ -245,6 +245,7 @@ if($resultat) {
+
Publier un article