summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 14:59:48 +0100
committerMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 14:59:48 +0100
commitac9ac02be07aef1bcf356d4bc32b63c68ad90fbc (patch)
treeafe2836671c5daab25afe6ffb0fb22b5afc0776b
parent74c36afe921cb1da16cf48d4e5982c6c0787b685 (diff)
Test
-rw-r--r--kml/data.php6
1 files changed, 4 insertions, 2 deletions
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]+)\"]#';