<?php
header('Content-Type: application/json; charset=utf-8');
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
header('Pragma: no-cache');
header('Expires: 0');

$path = __DIR__ . '/config.json';
if (!file_exists($path)) { echo json_encode(["categories"=>["Vše"]], JSON_UNESCAPED_UNICODE); exit; }
readfile($path);
