From f17bf1ebb0a23206bc37de93dfd49c7b254b6705 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sat, 25 Apr 2020 16:43:55 +0200 Subject: Remove necessity for php tile resolution script The conversion script now generates a proper directory structure with z/y/x coords in the path. --- htdocs/tiles/index.php | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 htdocs/tiles/index.php (limited to 'htdocs/tiles/index.php') diff --git a/htdocs/tiles/index.php b/htdocs/tiles/index.php deleted file mode 100644 index 7e0a89b..0000000 --- a/htdocs/tiles/index.php +++ /dev/null @@ -1,14 +0,0 @@ - 30) die(); - - $hdr = "Location: /maps.linux-forks.de/tiles/$id/$z/" . str_pad($y * (2**$z) + $x, 5, "0", STR_PAD_LEFT) . ".png"; - if (isset($_GET["debug"])) { - echo $hdr; - } else { - header($hdr); - } -?> -- cgit v1.2.3