2016-09-11 23:00:43 +02:00
|
|
|
<?php
|
|
|
|
//Some basic inits
|
|
|
|
$mmdvmconfigs = getMMDVMConfig();
|
2016-10-26 14:59:55 +02:00
|
|
|
define("MMDVMLOGPREFIX", getConfigItem("Log", "FileRoot", $mmdvmconfigs));
|
|
|
|
echo MMDVMLOGPREFIX;
|
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;
|
|
|
|
array_multisort($reverseLogLinesMMDVM,SORT_DESC);
|
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")) {
|
2016-10-08 23:41:46 +02:00
|
|
|
$logLinesYSFGateway = getYSFGatewayLog();
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("getYSFGatewayLog");
|
2016-10-08 23:41:46 +02:00
|
|
|
$reverseLogLinesYSFGateway = $logLinesYSFGateway;
|
2016-10-26 09:46:15 +02:00
|
|
|
array_multisort($reverseLogLinesYSFGateway,SORT_DESC);
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("array_multisort");
|
2016-10-08 23:41:46 +02:00
|
|
|
$activeYSFReflectors = getActiveYSFReflectors();
|
2016-10-12 17:45:24 +02:00
|
|
|
showLapTime("getActiveYSFReflectors");
|
2016-09-11 23:00:43 +02:00
|
|
|
}
|
|
|
|
?>
|