This commit is contained in:
2025-11-30 03:24:14 +01:00
parent 337f65205d
commit c7e355c1ea
5 changed files with 112 additions and 54 deletions

View File

@@ -20,11 +20,6 @@ function browser_quick_test_handle_request(): array
session_start();
}
// DB einbinden Pfad abhängig vom VHost:
// api.{staging.}usbcheck.it → DocumentRoot = .../api
// config liegt eine Ebene darüber: ../config/db.php
require_once $_SERVER['DOCUMENT_ROOT'] . '/../config/db.php'; // stellt $pdo (PDO) bereit
// ---------------------------------------------------------------------
// 1. JSON einlesen
// ---------------------------------------------------------------------