From 8c9a527fdf9a54699a596e0a6579cc95fb9b4314 Mon Sep 17 00:00:00 2001 From: bfabiszewski Date: Fri, 21 Jun 2013 11:15:09 +0200 Subject: OpenLayers API --- config.php | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'config.php') diff --git a/config.php b/config.php index 344efd6..513ab1f 100755 --- a/config.php +++ b/config.php @@ -17,15 +17,18 @@ * License along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -$version = "1.0"; +$version = "2.0"; + // map drawing framework -// (gmaps = google maps, osm = openstreetmap (not supported yet)) +// (gmaps = google maps, openlayers = openlayers/osm) $mapapi = "gmaps"; +//$mapapi = "openlayers"; + // you may add your google maps api key // this is not obligatory by now //$gkey = -// db +// MySQL config $dbhost = ""; // mysql host, eg. localhost $dbuser = ""; // database user $dbpass = ""; // database pass @@ -35,17 +38,23 @@ $salt = ""; // fill in random string here, it will increase security of password // other // require login/password authentication // (0 = no, 1 = yes) -$require_authentication = 0; +$require_authentication = 1; + // allow automatic registration of new users // (0 = no, 1 = yes) $allow_registration = 0; + // Default interval in seconds for live auto reload $interval = 10; + // Default language // (en, pl) $lang = "en"; +//$lang = "pl"; + // units // (metric, imperial) $units = "metric"; +//$units = "imperial"; ?> -- cgit v1.2.3