1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?
// ############################################################
// All listed setting can be changed only by editing this file
// Other settings can be changed from CPanel/Manage server
// ############################################################
error_reporting(0);
$gsValues['VERSION_ID'] = 1600;
$gsValues['VERSION'] = '1.0';
$gsValues['HTTP_MODE'] = 'http'; // options: http/https
// lock admin to IP addresses, example $gsValues['ADMIN_IP'] = '127.0.0.1,222.222.222.222,333.333.333.333';
$gsValues['ADMIN_IP'] = '';
// log out admin user if IP changes during active session, provides additional security from session stealing
$gsValues['ADMIN_IP_SESSION_CHECK'] = false; // options: false/true
$gsValues['SERVER_IP'] = '71.40.116.146'; // used only as information in CPanel
$gsValues['URL_SERVER_PORTS'] = 'http://www.gps-server.net/supported-devices'; // used only as information in CPanel
// multi server login
$gsValues['MULTI_SERVER_LOGIN'] = false; // options: false/true
$gsValues['MULTI_SERVER_LIST'] = array('' => '');
$gsValues['OBJECT_LIMIT'] = 0; // options: 0 means no limit, number sets limit
$gsValues['LOCATION_FILTER'] = true; // options: false/true
$gsValues['CURL'] = false; // options: false/true
// path to root of web application
// if application is installed not in root folder of web server, then folder name must be added, for example we install it in track folder: $_SERVER['DOCUMENT_ROOT'].'/track';
// very often web servers have no $_SERVER['DOCUMENT_ROOT'] set at all, then direct path should be used, for example c:/wamp/www or any other leading to www or public_html folder
$gsValues['PATH_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
// url to root of web application, example: $gsValues['URL_ROOT'] = 'YOUR_DOMAIN/track';
$gsValues['URL_ROOT'] = 'http://gpstracking.novisync.com/';
$gsValues['URL_GC'] = array(); // do not remove this line
$gsValues['URL_GC'][] = ''; // url to geocoder, used for getting addresses, example: $gsValues['URL_GC'][] = 'YOUR_DOMAIN/track/tools/gc/google.php';
//$gsValues['URL_GC'][] = ''; // another url to geocoder (if needed)
//$gsValues['URL_GC'][] = ''; // another url to geocoder (if needed)
// hardware key, should be same as in GPS-Server.exe
$gsValues['HW_KEY'] = '24208079F00C70CC42A2A712F53EE0AB';
// connection to MySQL database
$gsValues['DB_HOSTNAME'] = '127.0.0.1'; // database host
$gsValues['DB_PORT'] = '3306'; // database host
$gsValues['DB_NAME'] = 'gps_2020'; // database name
$gsValues['DB_USERNAME'] = 'root'; // database user name
$gsValues['DB_PASSWORD'] = 'Novi1234'; // database password
?>