-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.php_example.php
executable file
·48 lines (39 loc) · 1.12 KB
/
config.php_example.php
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
<?php
/*
* Weak secrets to prevent external trigger for some actions.
*/
$forceReparseKey = 'a_key_to_prevent_everyone_from_calling_data.php?reparse';
$setDataLogPointToken = 'key/token for log_to_db,php';
$environment = 'dev';
$tileServerUrl = 'https://tile.openstreetmap.de/{z}/{x}/{y}.png';
$tileServerAttribution = '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>';
$mapInitalView = array(
'latitude' => 51.16,
'longitude' => 10.45,
'zoom' => 6,
);
$dbAccess = [
# mysql connection parameters for node statistics
# empty if not wanted
# 'host' => '',
# 'db' => '',
# 'user' => '',
# 'pass' => ''
];
$serverUpload = [
# ftp for upload of results
# empty if not wanted
# 'host' => '',
# 'user' => '',
# 'password' => '',
# 'target' => '/cache',
];
$influxDB = [
'host' => 'your influxdb host',
'port' => '8086',
'dbName' => 'freifunk_karte',
'user' => 'influx user',
'password' => 'influx pass',
'add_tag_env' => $environment,
];
$trackingCode = "<!-- Piwik -->....<!-- End Piwik Code -->";