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",
"description": "manage Bind9 DNS server via REST API",
"version": "2023.0.1",
"build_number": "339",
"build_number": "340",
"authors": [
{
"name": "Micha Espey",

View File

@ -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: [