<?php
header('Content-Type: application/json');
header('Cache-Control: no-store, no-cache, must-revalidate');
echo json_encode([
    'status' => 'ok',
    'path' => __FILE__,
    'dir' => __DIR__,
    'request_uri' => $_SERVER['REQUEST_URI'] ?? 'N/A',
    'time' => date('Y-m-d H:i:s')
]);
