2013-06-19 13:27:14 +02:00
|
|
|
<?php
|
|
|
|
/* phpTrackme
|
|
|
|
*
|
|
|
|
* Copyright(C) 2013 Bartek Fabiszewski (www.fabiszewski.net)
|
|
|
|
*
|
|
|
|
* This is free software; you can redistribute it and/or modify it under
|
|
|
|
* the terms of the GNU Library General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*/
|
2016-10-29 14:05:13 +02:00
|
|
|
$version = "2.3";
|
2013-06-21 11:15:09 +02:00
|
|
|
|
2016-10-29 14:05:13 +02:00
|
|
|
// default map drawing framework
|
2013-06-21 11:15:09 +02:00
|
|
|
// (gmaps = google maps, openlayers = openlayers/osm)
|
2013-06-23 00:17:28 +02:00
|
|
|
//$mapapi = "gmaps";
|
|
|
|
$mapapi = "openlayers";
|
2013-06-21 11:15:09 +02:00
|
|
|
|
2013-06-23 00:17:28 +02:00
|
|
|
// openlayers additional map layers
|
|
|
|
// OpenCycleMap (0 = no, 1 = yes)
|
|
|
|
$layer_ocm = 1;
|
|
|
|
// MapQuest-OSM (0 = no, 1 = yes)
|
|
|
|
$layer_mq = 1;
|
|
|
|
// osmapa.pl (0 = no, 1 = yes)
|
|
|
|
$layer_osmapa = 1;
|
2013-06-23 23:43:09 +02:00
|
|
|
// UMP (0 = no, 1 = yes)
|
|
|
|
$layer_ump = 1;
|
2013-06-23 00:17:28 +02:00
|
|
|
|
2014-09-07 12:34:41 +02:00
|
|
|
// default coordinates for initial map
|
|
|
|
$init_latitude = 52.23;
|
|
|
|
$init_longitude = 21.01;
|
|
|
|
|
2013-06-23 00:17:28 +02:00
|
|
|
// you may set your google maps api key
|
2013-06-19 13:27:14 +02:00
|
|
|
// this is not obligatory by now
|
2013-06-23 00:17:28 +02:00
|
|
|
//$gkey = "";
|
2013-06-19 13:27:14 +02:00
|
|
|
|
2013-06-21 11:15:09 +02:00
|
|
|
// MySQL config
|
2013-06-19 13:27:14 +02:00
|
|
|
$dbhost = ""; // mysql host, eg. localhost
|
|
|
|
$dbuser = ""; // database user
|
|
|
|
$dbpass = ""; // database pass
|
|
|
|
$dbname = ""; // database name
|
|
|
|
$salt = ""; // fill in random string here, it will increase security of password hashes
|
|
|
|
|
|
|
|
// other
|
2016-10-29 14:05:13 +02:00
|
|
|
// require login/password authentication
|
2013-06-19 13:27:14 +02:00
|
|
|
// (0 = no, 1 = yes)
|
2013-06-21 11:15:09 +02:00
|
|
|
$require_authentication = 1;
|
|
|
|
|
2014-04-01 17:28:27 +11:00
|
|
|
// admin user who has access to all users locations
|
2014-09-07 21:22:46 +02:00
|
|
|
// none if empty
|
2014-04-01 17:28:27 +11:00
|
|
|
$admin_user = "";
|
|
|
|
|
2016-10-29 14:05:13 +02:00
|
|
|
// allow automatic registration of new users
|
2013-06-19 13:27:14 +02:00
|
|
|
// (0 = no, 1 = yes)
|
|
|
|
$allow_registration = 0;
|
2013-06-21 11:15:09 +02:00
|
|
|
|
2013-06-19 13:27:14 +02:00
|
|
|
// Default interval in seconds for live auto reload
|
2016-10-29 14:05:13 +02:00
|
|
|
$interval = 10;
|
2013-06-21 11:15:09 +02:00
|
|
|
|
2013-06-19 13:27:14 +02:00
|
|
|
// Default language
|
2013-06-21 20:57:17 +02:00
|
|
|
// (en, pl, de)
|
2013-06-21 21:02:03 +02:00
|
|
|
$lang = "en";
|
2013-06-21 11:15:09 +02:00
|
|
|
//$lang = "pl";
|
2013-06-21 21:02:03 +02:00
|
|
|
//$lang = "de";
|
2013-06-21 11:15:09 +02:00
|
|
|
|
2013-06-19 13:27:14 +02:00
|
|
|
// units
|
|
|
|
// (metric, imperial)
|
|
|
|
$units = "metric";
|
2013-06-21 11:15:09 +02:00
|
|
|
//$units = "imperial";
|
2013-06-19 13:27:14 +02:00
|
|
|
|
|
|
|
?>
|