summaryrefslogtreecommitdiff
path: root/kml
diff options
context:
space:
mode:
authorMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 15:02:14 +0100
committerMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 15:02:14 +0100
commit0af28a247fcc18c3de3586ca151fd48c03ab28d0 (patch)
treea858e3d0bb2a7ac5beab931879a80aeba8dfef3e /kml
parent2e506614d2d065f01ee24bd5f1b7fe772a5d2320 (diff)
Test
Diffstat (limited to 'kml')
-rw-r--r--kml/data.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/kml/data.php b/kml/data.php
index 42daf9f..dc4efb7 100644
--- a/kml/data.php
+++ b/kml/data.php
@@ -13,8 +13,6 @@ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
$db = new DB($conf['db']['user'], $conf['db']['password'], $conf['db']['host'], $conf['db']['database']);
$conf['acl']['auth'] = match_network($conf['acl']['range'],$_SERVER["REMOTE_ADDR"]);
-printf("abc %s", $locations);
-exit;
$handle = fopen ($conf['router']['file'],"r");
@@ -23,6 +21,9 @@ while ( ($data = fgetcsv ($handle, 1000, ",")) !== FALSE ) { // Daten werde
}
fclose ($handle);
+printf("abc %s", $locations);
+exit;
+
#if(!$conf['acl']['auth'] )