From 17535d825d4b2643e0200392fcd92ddc2777e5d5 Mon Sep 17 00:00:00 2001 From: tracer Date: Wed, 17 Apr 2024 15:27:21 +0200 Subject: [PATCH] fixed .htaccess --- composer.json | 2 +- public/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6f92601..c3d351d 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "24unix/bindapi", "description": "manage Bind9 DNS server via REST API", "version": "2023.0.1", - "build_number": "339", + "build_number": "340", "authors": [ { "name": "Micha Espey", diff --git a/public/index.php b/public/index.php index 30a1b32..ab41964 100644 --- a/public/index.php +++ b/public/index.php @@ -28,7 +28,7 @@ header(header: "Access-Control-Allow-Headers: Content-Type, Access-Control-Allow $requestMethod = $_SERVER["REQUEST_METHOD"]; try { - $app = new BindAPI(); + $app = new BindAPI(quiet: false); $app->handleRequest(requestMethod: $requestMethod, uri: $uri); } catch (Exception $e) { echo json_encode(value: [