From a57394ff9101bf65246aca687df0edcb8576555e Mon Sep 17 00:00:00 2001 From: lb1programmer Date: Sat, 20 Nov 2021 22:01:48 -0800 Subject: [PATCH 1/3] Listen and report --- mmdvmhost/reportheard.php | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 mmdvmhost/reportheard.php diff --git a/mmdvmhost/reportheard.php b/mmdvmhost/reportheard.php new file mode 100755 index 00000000..1754e254 --- /dev/null +++ b/mmdvmhost/reportheard.php @@ -0,0 +1,54 @@ + Date: Sat, 20 Nov 2021 23:01:34 -0800 Subject: [PATCH 2/3] return bug --- mmdvmhost/reportheard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 mmdvmhost/reportheard.php diff --git a/mmdvmhost/reportheard.php b/mmdvmhost/reportheard.php old mode 100755 new mode 100644 index 1754e254..d721a744 --- a/mmdvmhost/reportheard.php +++ b/mmdvmhost/reportheard.php @@ -7,7 +7,7 @@ include_once $dir.'/mmdvmhost/tools.php'; // MMDVMDash Tools require_once $dir.'/mmdvmhost/functions.php'; // MMDVMDash Functions include_once $dir.'/config/language.php'; // Translation Code -for($i=0; $i<60; $i+=5) { +for($t=0; $t<60; $t+=5) { // Check if the config file exists if (file_exists('/etc/pistar-css.ini')) { From e3fb332b977428b1b8eded9ca232afecdbfce85f Mon Sep 17 00:00:00 2001 From: lb1programmer Date: Sat, 1 Jan 2022 20:10:56 -0800 Subject: [PATCH 3/3] configurable UPLOADKEY --- admin/configure.php | 16 ++++++++++++++++ mmdvmhost/reportheard.php | 16 +++++++++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/admin/configure.php b/admin/configure.php index aad88a94..cf34d7b5 100755 --- a/admin/configure.php +++ b/admin/configure.php @@ -1359,6 +1359,10 @@ function resizeIframe(obj) { if (empty($_POST['dstarNetHangTime']) != TRUE ) { $configmmdvm['D-Star Network']['ModeHang'] = preg_replace('/[^0-9]/', '', $_POST['dstarNetHangTime']); } + if (empty($_POST['HearhamKey']) != TRUE ) { + $configmmdvm['Hearham']['Secret'] = $_POST['HearhamKey']; + } + // Set YSF Hang Timers if (empty($_POST['ysfRfHangTime']) != TRUE ) { $configmmdvm['System Fusion']['ModeHang'] = preg_replace('/[^0-9]/', '', $_POST['ysfRfHangTime']); @@ -3684,6 +3688,18 @@ function resizeIframe(obj) { :Net Hang TimeStay in the last mode for this many seconds in seconds (90 secs works well for Multi-Mode) --> + + Your Hearham key:Hearham "Upload Secret" from hearham.live/setup:Enter your station's secret key + \n"; + } + else { + echo "\n"; + } + ?> + +


diff --git a/mmdvmhost/reportheard.php b/mmdvmhost/reportheard.php index d721a744..73bd5fbb 100644 --- a/mmdvmhost/reportheard.php +++ b/mmdvmhost/reportheard.php @@ -1,12 +1,22 @@