2020-10-14 21:30:37 +02:00
|
|
|
<?php
|
2020-10-26 11:14:47 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* conf.php
|
|
|
|
* Dashboard for YSFGateway
|
|
|
|
* Configuration file
|
|
|
|
* Dominic Reich, OE7DRT, oe7drt@oevsv.at
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-10-14 21:30:37 +02:00
|
|
|
if (isset($_GET['debug'])) {
|
|
|
|
define("DEBUG", true);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isset($_GET['full'])) {
|
|
|
|
define("MAXENTRIES", 1000);
|
|
|
|
define("MAXLOGENTRIES", MAXENTRIES * 5);
|
|
|
|
} else {
|
|
|
|
define("MAXENTRIES", 20);
|
|
|
|
define("MAXLOGENTRIES", MAXENTRIES * 5);
|
|
|
|
//define("MAXLOGENTRIES", 500);
|
|
|
|
}
|
|
|
|
|
|
|
|
// default values for files etc...
|
|
|
|
define("MMDVM_INI", "/etc/MMDVM.ini");
|
|
|
|
define("YSFGW_INI", "/etc/YSFGateway.ini");
|
|
|
|
define("APRS_INI", "/etc/APRSGateway.ini");
|
|
|
|
|
|
|
|
define("LOGPATH", "/var/log/mmdvm");
|
|
|
|
define("MMDVM_PREFIX", "MMDVM");
|
|
|
|
define("YSFGW_PREFIX", "YSFGateway");
|
|
|
|
define("APRSGW_PREFIX","APRSGateway");
|
|
|
|
?>
|