2016-09-11 23:00:43 +02:00
|
|
|
<?php
|
|
|
|
//Some basic inits
|
|
|
|
$mmdvmconfigs = getMMDVMConfig();
|
2016-10-26 15:06:45 +02:00
|
|
|
if (!defined("MMDVMLOGPREFIX"))
|
2017-01-10 15:04:51 +01:00
|
|
|
define("MMDVMLOGPREFIX", getConfigItem("Log", "FileRoot", $mmdvmconfigs));
|
2016-11-03 21:18:32 +01:00
|
|
|
if (!defined("TIMEZONE"))
|
2017-01-10 15:04:51 +01:00
|
|
|
define("TIMEZONE", "UTC");
|
2018-04-04 22:37:11 +02:00
|
|
|
if (defined("RESOLVETGS")) {
|
|
|
|
$tgList = getTGList();
|
|
|
|
}
|
2016-09-11 23:00:43 +02:00
|
|
|
$logLinesMMDVM = getMMDVMLog();
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("getMMDVMLog");
|
2016-09-11 23:00:43 +02:00
|
|
|
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
2017-02-14 15:46:37 +01:00
|
|
|
rsort($reverseLogLinesMMDVM);
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("array_multisort");
|
2016-09-17 18:18:47 +02:00
|
|
|
$lastHeard = getLastHeard($reverseLogLinesMMDVM, FALSE);
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("getLastHeard");
|
2016-09-11 23:00:43 +02:00
|
|
|
if (defined("ENABLEYSFGATEWAY")) {
|
2017-01-10 15:04:51 +01:00
|
|
|
$logLinesYSFGateway = getYSFGatewayLog();
|
|
|
|
showLapTime("getYSFGatewayLog");
|
|
|
|
$reverseLogLinesYSFGateway = $logLinesYSFGateway;
|
2017-02-14 15:46:37 +01:00
|
|
|
rsort($reverseLogLinesYSFGateway);
|
2017-01-10 15:04:51 +01:00
|
|
|
showLapTime("array_multisort");
|
|
|
|
$activeYSFReflectors = getActiveYSFReflectors();
|
|
|
|
showLapTime("getActiveYSFReflectors");
|
2016-09-11 23:00:43 +02:00
|
|
|
}
|
|
|
|
?>
|