diff --git a/ajax.php b/ajax.php index f20af34..9bc0d3a 100644 --- a/ajax.php +++ b/ajax.php @@ -7,6 +7,7 @@ include "include/tools.php"; include "include/functions.php"; $mmdvmconfigs = getMMDVMConfig(); +define("MMDVMLOGPREFIX", getConfigItem("Log", "FileRoot", $mmdvmconfigs)); $logLinesMMDVM = getMMDVMLog(); $reverseLogLinesMMDVM = $logLinesMMDVM; array_multisort($reverseLogLinesMMDVM,SORT_DESC); diff --git a/include/init.php b/include/init.php index 5e114a7..2d38351 100644 --- a/include/init.php +++ b/include/init.php @@ -1,6 +1,8 @@ Path to MMDVMHost-logfile " name="MMDVMLOGPATH" class="form-control" placeholder="/var/log/mmdvm/" aria-describedby="MMDVMLOGPATH" required data-fv-notempty-message="Value is required"> -
- Logfile-prefix - " name="MMDVMLOGPREFIX" class="form-control" placeholder="MMDVM" aria-describedby="MMDVMLOGPREFIX" required data-fv-notempty-message="Value is required"> -
Path to MMDVM.ini " name="MMDVMINIPATH" class="form-control" placeholder="/etc/mmdvm/" aria-describedby="MMDVMINIPATH" required data-fv-notempty-message="Value is required"> diff --git a/txinfo.php b/txinfo.php index 99ae174..7d4e4f0 100644 --- a/txinfo.php +++ b/txinfo.php @@ -6,6 +6,7 @@ include "config/config.php"; include "include/tools.php"; include "include/functions.php"; $mmdvmconfigs = getMMDVMConfig(); +define("MMDVMLOGPREFIX", getConfigItem("Log", "FileRoot", $mmdvmconfigs)); $logLinesMMDVM = getShortMMDVMLog(); $reverseLogLinesMMDVM = $logLinesMMDVM; array_multisort($reverseLogLinesMMDVM,SORT_DESC); diff --git a/version.php b/version.php index 6caf628..f5ec75a 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@