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;