X-Git-Url: http://git.shiar.net/sc2-widget/blobdiff_plain/aa690a9c0c95e3121b747d77aa836fcd92654fb2..203777569f73b769b10164e3b37e8183e8d8c900:/widget.php diff --git a/widget.php b/widget.php index ddf9cb8..e222f22 100644 --- a/widget.php +++ b/widget.php @@ -18,7 +18,7 @@ function error($message, $status = 500) } $request = trim($_SERVER['PATH_INFO'], '/'); -$target = "$request.json"; +$target = "data/$request.json"; $last = file_exists($target) ? filemtime($target) : 0; if ($last < time() - 3600) {