<?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__ . '/gallery.json';
if (!file_exists($path)) {
  echo json_encode(["items"=>[]], JSON_UNESCAPED_UNICODE);
  exit;
}
readfile($path);
