From 48fcf626c68b3341927e8111f731cc6064717d45 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 23 Mar 2025 15:25:18 +0100 Subject: =?UTF-8?q?passage=20=C3=A0=20la=20version=20composer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +-- public/index.php | 10 +--------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index ff87634..a725465 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -vendor/ -node_modules/ \ No newline at end of file +vendor/ \ No newline at end of file diff --git a/public/index.php b/public/index.php index 233d85d..0c4c5f1 100644 --- a/public/index.php +++ b/public/index.php @@ -20,7 +20,6 @@ if(isset($_GET['action']) && $_GET['action'] == 'editor_submit'){ elseif(isset($_GET['action']) && $_GET['action'] == 'delete_article'){ // récupération des données $post = json_decode(file_get_contents('php://input'), true); - //echo $post['id']; if(json_last_error() === JSON_ERROR_NONE){ // Traitement côté serveur @@ -63,7 +62,6 @@ elseif(isset($_GET['action']) && $_GET['action'] == 'upload_image'){ } die; } - ?> @@ -78,14 +76,8 @@ elseif(isset($_GET['action']) && $_GET['action'] == 'upload_image'){ .hidden{ display: none; } - figure .align-center{ - - } - figcaption { - - } - +