rc3/maps/ir/gmaze/right_old.php

9 lines
290 B
PHP
Raw Normal View History

2021-02-15 19:14:50 +00:00
<?php
$data = file_get_contents('right.json');
$tstamp = round(microtime(true)*100); # 0.01 sec resolution
$data = str_replace(".php#", ".".$tstamp.".php#", $data); // Patch php-exits to prevent caching
header("Expires: 0");
header('Content-type: application/json');
echo($data);
exit;
?>