From e3fac1dffdee75dbf74c1e814dc351fab0a0cdf3 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Fri, 16 Sep 2016 15:21:05 +0000 Subject: [PATCH] fixing error in txinfo with local transmissions \(stopped counting before end of tx\) --- include/functions.php | 3 ++- version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/functions.php b/include/functions.php index 2218e0e..896d623 100644 --- a/include/functions.php +++ b/include/functions.php @@ -118,7 +118,8 @@ function getMMDVMLog() { function getShortMMDVMLog() { // Open Logfile and copy loglines into LogLines-Array() $logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log"; - $logLines = explode("\n", `tail -n100 $logPath`); + //$logLines = explode("\n", `tail -n100 $logPath`); + $logLines = explode("\n", `egrep -h "from|end|watchdog" $logPath | tail -4`); return $logLines; } diff --git a/version.php b/version.php index 29fa544..fd1689f 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@