Support refreshing linked targets without changing original data.
$request = trim($_SERVER['PATH_INFO'], '/');
$target = "data/$request.json";
$request = trim($_SERVER['PATH_INFO'], '/');
$target = "data/$request.json";
-$last = file_exists($target) ? filemtime($target) : 0;
+$last = file_exists($target) ? lstat($target)['mtime'] : 0;
if ($last < time() - 3600) {
$recipe = NULL;
if ($last < time() - 3600) {
$recipe = NULL;