From 2e506614d2d065f01ee24bd5f1b7fe772a5d2320 Mon Sep 17 00:00:00 2001 From: Mathias Mayrhofer Date: Sun, 23 Feb 2020 15:01:58 +0100 Subject: Test --- kml/data.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kml/data.php b/kml/data.php index 3327ba9..42daf9f 100644 --- a/kml/data.php +++ b/kml/data.php @@ -13,14 +13,16 @@ 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"); while ( ($data = fgetcsv ($handle, 1000, ",")) !== FALSE ) { // Daten werden aus der Datei $routerhash[$data[0]]=$data; } fclose ($handle); -printf("abc %s", $locations); -exit; #if(!$conf['acl']['auth'] ) -- cgit v1.2.1