refactor dotenv parsing to improve caching logic and ensure readability; update health endpoint to reflect key match status

This commit is contained in:
tom.hempel
2026-06-01 19:11:12 +02:00
parent 6895aa5674
commit 82a1614a58
2 changed files with 18 additions and 7 deletions

View File

@ -38,5 +38,5 @@ json_success([
'dbBytes' => is_file(QDB_PATH) ? filesize(QDB_PATH) : 0,
'dbOpenOk' => $dbOpenOk,
'dbError' => $dbError,
'expectedKeySha'=> 'e584e16eb81fbb4f1e3aac965b5225c5fefabc2a67ea20e26e55671c7d9f1ae7',
'keyMatchesCli' => $keySha === 'e584e16eb81fbb4f1e3aac965b5225c5fefabc2a67ea20e26e55671c7d9f1ae7',
]);