From ac9ac02be07aef1bcf356d4bc32b63c68ad90fbc Mon Sep 17 00:00:00 2001 From: Mathias Mayrhofer Date: Sun, 23 Feb 2020 14:59:48 +0100 Subject: Test --- kml/data.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'kml') diff --git a/kml/data.php b/kml/data.php index 86fbc8e..e0d58ba 100644 --- a/kml/data.php +++ b/kml/data.php @@ -66,6 +66,10 @@ if($conf['acl']['auth']) else $db->query("SELECT id as locid, name as locname, pixel_x, pixel_y, gallery_link, location.hastinc as hastinc FROM location WHERE location.hidden = 0 ORDER BY name ASC"); +printf("abc %s", $locations); +exit; + + while ($data = $db->getNextObject()) { if ($data->pixel_x == "0") continue; @@ -98,8 +102,6 @@ while ($data = $db->getNextObject()) { $locations[$data->locid] = $data; } -printf("abc %s", $locations); -exit; $regmatch = '#\"(.+)\" -> \"(.+)\"\[label=\"([0-9]+.[0-9]+)\"]#'; -- cgit v1.2.1