From dbab7a96e3c989b0f9f6d31cda8e50b0a084a93f Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 16:30:17 +0000 Subject: [PATCH] Update 2 files - /html/editpage.php - /html/admin.php --- html/admin.php | 1 + html/editpage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/admin.php b/html/admin.php index f6ab649c..4f6dc421 100644 --- a/html/admin.php +++ b/html/admin.php @@ -46,6 +46,7 @@ if(isset($_SESSION['userid']) == false) {
Publier un article
+
Editer une page
diff --git a/html/editpage.php b/html/editpage.php index c4451f84..b919e01f 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -16,7 +16,7 @@ if(isset($_SESSION['userid']) == false) { } if(isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT)) { - if(file_exists($repertoire . "content/journal/" . $_GET['article'] . ".md";)){ + if(file_exists($repertoire . "content/journal/" . $_GET['article'] . ".md")){ $fichier = $repertoire . "content/journal/" . $_GET['article'] . ".md"; $filename = $_GET['article']; $filetype = 0;