From 1dea80d6a1371e869ffa456d9caa3c270069db80 Mon Sep 17 00:00:00 2001 From: franzz Date: Sat, 23 Mar 2019 22:56:38 +0100 Subject: [PATCH] 403 http request wrapping --- inc/spot.php | 5 +---- todo | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/inc/spot.php b/inc/spot.php index acb2754..1cd4c5d 100755 --- a/inc/spot.php +++ b/inc/spot.php @@ -334,10 +334,7 @@ class Spot extends Main $oWmts = new Wmts($sMapId); return $oWmts->pushTile($iX, $iY, $iZ); } - else { - header('HTTP/1.1 403 Forbidden'); - exit; - } + else self::goTo403(); } public static function DecToDMS($dValue, $sType='lat') { diff --git a/todo b/todo index 799ed02..965ddf5 100644 --- a/todo +++ b/todo @@ -1,4 +1,4 @@ To Do List ---------- - Check that update feed works -- admin page #admin \ No newline at end of file +- admin page #admin to manage projects \ No newline at end of file