pridany skript pre kontrolu zlyhania merani
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user