Compare commits

...

2 Commits

  1. 10
      p25-dash/include/functions.php
  2. 1
      p25-dash/index.php
  3. 0
      ysf-dash/oldsetup.php

10
p25-dash/include/functions.php

@ -151,7 +151,17 @@ function getHeardList($logLines) {
$heardList = array();
$dttxend = "";
$logLines_cleaned = array();
// Check to see if the log line has a ":" in the second character. If not, discard it (fixed error with bad log entries)
foreach ($logLines as $logLine) {
if (substr($logLine,1,1) != ":") {
} else {
$logLines_cleaned[] = $logLine;
}
}
foreach ($logLines_cleaned as $logLine) {
$duration = "transmitting";
$timestamp = substr($logLine, 3, 19);
$dttimestamp = new DateTime($timestamp);

1
p25-dash/index.php

@ -1,4 +1,5 @@
<?php
error_reporting(E_ALL);
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];

0
ysf-dash/setup.php → ysf-dash/oldsetup.php

Loading…
Cancel
Save