-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault_settings.php
More file actions
executable file
·58 lines (54 loc) · 1.51 KB
/
default_settings.php
File metadata and controls
executable file
·58 lines (54 loc) · 1.51 KB
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
51
52
53
54
55
56
57
58
<?php
/*
* This is the file that gets called for this module when OpenRepeater first
* installs the mdoule. It adds the default settings for the module defined in
* the PHP array below into the database in the moduleOptions field in the
* modules table. This information is serialized in the database. The variables
* that should be defined here are the same variables that are used in the
* settings form. Again, it is what is stored in the database as options and
* not the variables that the SVXLink code expects to see in the generated
* config file for the module.
*/
$default_settings = [
'timeout_min' => '2',
'server' => 'TYPE => XML || URL => https://aviationweather.gov || PATH => /adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString=',
'stationsArray' => [
'1' => [
'icao' => 'ESSB',
'label' => 'Stockholm, Sweden',
],
'2' => [
'icao' => 'EDDP',
'label' => 'Leipzig, Germany',
],
'3' => [
'icao' => 'SKSM',
'label' => 'Santa Marta, Colombia',
],
'4' => [
'icao' => 'EDDS',
'label' => 'Stuttgart, Germany',
],
'5' => [
'icao' => 'EDDM',
'label' => 'Munich, Germany',
],
'6' => [
'icao' => 'EDDF',
'label' => 'Frankfurt/Main, Germany',
],
'7' => [
'icao' => 'KJAC',
'label' => 'Jackson, WY , United States',
],
'8' => [
'icao' => 'KTOL',
'label' => 'Toledo, OH , United States',
],
'9' => [
'icao' => 'KMRB',
'label' => 'Martinsburg, WV',
],
],
];
?>