summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]+)\"]#';