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");
|
2016-09-11 23:00:43 +02:00
|
|
|
$logLinesMMDVM = getMMDVMLog();
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("getMMDVMLog");
|
|
|
|
//getNames(" ");
|
|
|
|
showLapTime("getNames");
|
|
|
|
//$_SESSION['logLinesMMDVM'] = $logLinesMMDVM;
|
2016-09-11 23:00:43 +02:00
|
|
|
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
2017-02-14 15:46:37 +01:00
|
|
|
//array_multisort($reverseLogLinesMMDVM,SORT_DESC);
|
|
|
|
rsort($reverseLogLinesMMDVM);
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("array_multisort");
|
|
|
|
//$_SESSION['reverseLogLinesMMDVM'] = $reverseLogLinesMMDVM;
|
2016-09-17 18:18:47 +02:00
|
|
|
$lastHeard = getLastHeard($reverseLogLinesMMDVM, FALSE);
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("getLastHeard");
|
|
|
|
//$_SESSION['lastHeard'] = $lastHeard;
|
2016-10-07 21:24:26 +02:00
|
|
|
|
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
|
|
|
//array_multisort($reverseLogLinesYSFGateway,SORT_DESC);
|
|
|
|
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
|
|
|
}
|
|
|
|
?>
|