From 1f6c569d44e2f0eaf58a172dc8190682e0093a06 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Tue, 10 May 2016 21:50:33 +0200 Subject: [PATCH] improved commenting and code-cleanup --- config/config.php | 9 +++++++++ include/functions.php | 11 ++++++++++- include/lh.php | 4 ---- include/repeaterinfo.php | 5 +---- index.php | 2 ++ 5 files changed, 22 insertions(+), 9 deletions(-) diff --git a/config/config.php b/config/config.php index aaa39a3..b31d919 100644 --- a/config/config.php +++ b/config/config.php @@ -71,9 +71,18 @@ switch (DISTRIBUTION) { define("CONFIGFILENAME", "ircddbgateway"); define("GATEWAYCONFIGPATH", CONFIGPATH . "/" . CONFIGFILENAME); +// set time to refresh page define("REFRESHAFTER", "60"); + +// enables CPU-temperature alert define("TEMPERATUREALERT", true); + +// defines temperature of warning define("TEMPERATUREHIGHLEVEL", 60); + +// enables progress-bars define("SHOWPROGRESSBARS", true); + +// defines number of lines in last heard list define("LHLINES", 20); ?> \ No newline at end of file diff --git a/include/functions.php b/include/functions.php index 7e75d20..9f7baae 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,7 @@
Last Heard List of today's callsigns.
- - diff --git a/include/repeaterinfo.php b/include/repeaterinfo.php index 2cd3ab7..87c7584 100644 --- a/include/repeaterinfo.php +++ b/include/repeaterinfo.php @@ -1,10 +1,7 @@
Repeater Info
- - +
diff --git a/index.php b/index.php index d58e39d..c2fc3c1 100644 --- a/index.php +++ b/index.php @@ -4,6 +4,7 @@ $time = explode(' ', $time); $time = $time[1] + $time[0]; $start = $time; +// do not touch this includes!!! Never ever!!! include "config/config.php"; include "include/tools.php"; include "include/functions.php"; @@ -29,6 +30,7 @@ include "include/functions.php";

MMDVMHost v by G4KLX