fixed .htaccess

This commit is contained in:
tracer 2024-04-17 15:27:21 +02:00
parent 93e12b9949
commit 17535d825d
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "24unix/bindapi", "name": "24unix/bindapi",
"description": "manage Bind9 DNS server via REST API", "description": "manage Bind9 DNS server via REST API",
"version": "2023.0.1", "version": "2023.0.1",
"build_number": "339", "build_number": "340",
"authors": [ "authors": [
{ {
"name": "Micha Espey", "name": "Micha Espey",

View File

@ -28,7 +28,7 @@ header(header: "Access-Control-Allow-Headers: Content-Type, Access-Control-Allow
$requestMethod = $_SERVER["REQUEST_METHOD"]; $requestMethod = $_SERVER["REQUEST_METHOD"];
try { try {
$app = new BindAPI(); $app = new BindAPI(quiet: false);
$app->handleRequest(requestMethod: $requestMethod, uri: $uri); $app->handleRequest(requestMethod: $requestMethod, uri: $uri);
} catch (Exception $e) { } catch (Exception $e) {
echo json_encode(value: [ echo json_encode(value: [