diff options
author | Mathias Mayrhofer <mtmayr@mtmayr.com> | 2020-02-23 14:56:20 +0100 |
---|---|---|
committer | Mathias Mayrhofer <mtmayr@mtmayr.com> | 2020-02-23 14:56:20 +0100 |
commit | 91148b7582a24895245f3819dd91b0c5c15f243f (patch) | |
tree | 153a9e8a4d03bed482f83010f24a7004b033bb6a /kml | |
parent | 939ea1acde246da46ddb0de815a57dd7012e7802 (diff) |
Test
Diffstat (limited to 'kml')
-rw-r--r-- | kml/data.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kml/data.php b/kml/data.php index a901999..c473a81 100644 --- a/kml/data.php +++ b/kml/data.php @@ -13,9 +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", $conf['db']['password']); -exit; - $handle = fopen ($conf['router']['file'],"r"); while ( ($data = fgetcsv ($handle, 1000, ",")) !== FALSE ) { // Daten werden aus der Datei $routerhash[$data[0]]=$data; @@ -318,6 +315,10 @@ foreach ($lines as $num => $line) } } +printf("abc %s", $conf['db']['user']); +exit; + + echo "<?xml version='1.0' encoding='UTF-8'?>\n"; ?> <kml xmlns="http://www.opengis.net/kml/2.2"> |