From 2faa9ecffb19e0d520a2d9ca359eb29b7aaf6ca8 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Tue, 10 Jan 2023 21:01:26 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/index.php?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api-rest/index.php b/api-rest/index.php index 4db498e..109d216 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -81,6 +81,10 @@ $i++; } + if (empty($url)){ + exit; + } + //echo json_encode($url); $method_name = !empty($url[2]) ? (string)$url[2] : null;