79 lines
4.6 KiB
Plaintext
79 lines
4.6 KiB
Plaintext
<?php
|
|
/*
|
|
Possible values for IPModus
|
|
|
|
HideIP
|
|
ShowFullIP
|
|
ShowLast1ByteOfIP
|
|
ShowLast2ByteOfIP
|
|
ShowLast3ByteOfIP
|
|
|
|
*/
|
|
|
|
$Service = array();
|
|
$CallingHome = array();
|
|
$PageOptions = array();
|
|
|
|
$PageOptions['ContactEmail'] = 'your_email'; // Support E-Mail address
|
|
$PageOptions['IPV4'] = 'refl_ipv4_address'; // Reflector IPV4 Address
|
|
$PageOptions['IPV6'] = 'refl_ipv6_address'; // Reflector IPV6 Address - if none use NONE
|
|
|
|
$PageOptions['DashboardVersion'] = '1.0.1'; // Dashboard Version
|
|
|
|
$PageOptions['PageRefreshActive'] = true; // Activate automatic refresh
|
|
$PageOptions['PageRefreshDelay'] = '10000'; // Page refresh time in miliseconds
|
|
|
|
|
|
$PageOptions['RepeatersPage'] = array();
|
|
$PageOptions['RepeatersPage']['LimitTo'] = 99; // Number of Repeaters to show
|
|
$PageOptions['RepeatersPage']['IPModus'] = 'ShowLast2ByteOfIP'; // See possible options above
|
|
$PageOptions['RepeatersPage']['MasqueradeCharacter'] = '*'; // Character used for masquerade
|
|
|
|
|
|
$PageOptions['PeerPage'] = array();
|
|
$PageOptions['PeerPage']['LimitTo'] = 99; // Number of peers to show
|
|
$PageOptions['PeerPage']['IPModus'] = 'ShowLast2ByteOfIP'; // See possible options above
|
|
$PageOptions['PeerPage']['MasqueradeCharacter'] = '*'; // Character used for masquerade
|
|
|
|
$PageOptions['LastHeardPage']['LimitTo'] = 39; // Number of stations to show
|
|
|
|
$PageOptions['ModuleNames'] = array(); // Module names
|
|
$PageOptions['ModuleNames']['A'] = 'Int.';
|
|
$PageOptions['ModuleNames']['B'] = 'Regional';
|
|
$PageOptions['ModuleNames']['C'] = 'National';
|
|
$PageOptions['ModuleNames']['D'] = '';
|
|
|
|
|
|
$PageOptions['MetaDescription'] = 'MREFD is an M17 Reflector System for Ham Radio Operators.'; // Meta Tag Values, useful for Search Engines
|
|
$PageOptions['MetaKeywords'] = 'Ham Radio, M17, XReflector, '; // Meta Tag Values, useful for Search Engines
|
|
$PageOptions['MetaAuthor'] = 'N7TAE'; // Meta Tag Values, useful for Search Engines
|
|
$PageOptions['MetaRevisit'] = 'After 30 Days'; // Meta Tag Values, useful for Search Engines
|
|
$PageOptions['MetaRobots'] = 'index,follow'; // Meta Tag Values, useful for Search Engines
|
|
|
|
$PageOptions['UserPage']['ShowFilter'] = true; // Show Filter on Users page
|
|
|
|
$Service['PIDFile'] = '/var/run/mrefd.pid';
|
|
$Service['XMLFile'] = '/var/log/mrefd.xml';
|
|
|
|
$CallingHome['Active'] = false; // xlx phone home, true or false
|
|
$CallingHome['MyDashBoardURL'] = 'http://your_dashboard'; // dashboard url
|
|
$CallingHome['ServerURL'] = 'http://xlxapi.rlx.lu/api.php'; // database server, do not change !!!!
|
|
$CallingHome['PushDelay'] = 600; // push delay in seconds
|
|
$CallingHome['Country'] = "your_country"; // Country
|
|
$CallingHome['Comment'] = "your_comment"; // Comment. Max 100 character
|
|
$CallingHome['HashFile'] = "/tmp/callinghome.php"; // Make sure the apache user has read and write permissions in this folder.
|
|
$CallingHome['OverrideIPAddress'] = ""; // Insert your IP address here. Leave blank for autodetection. No need to enter a fake address.
|
|
$CallingHome['InterlinkFile'] = "/usr/local/etc/mrefd.linklist"; // Path to interlink file
|
|
|
|
|
|
/*
|
|
include an extra config file for people who dont like to mess with shipped config.inc.php
|
|
this makes updating dashboard from git a little bit easier
|
|
*/
|
|
|
|
if (file_exists("../config.inc.php")) {
|
|
include ("../config.inc.php");
|
|
}
|
|
|
|
?>
|