pridany skript pre kontrolu zlyhania merani

This commit is contained in:
2026-06-24 11:26:13 +02:00
parent bcf0baf71c
commit 62e78cac45
4 changed files with 85 additions and 1 deletions

View File

@ -1,5 +1,7 @@
<?php
define('DATA_JSONL_FILEPATH', __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . date('Y') . '.jsonl');
function respondJson(int $statusCode, array $payload): void
{
http_response_code($statusCode);