removed MMDVMLOGPREFIX from setup, fetching it from MMDVM.ini
This commit is contained in:
parent
baf0178a7b
commit
b39624131c
5 changed files with 5 additions and 5 deletions
1
ajax.php
1
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);
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
//Some basic inits
|
||||
$mmdvmconfigs = getMMDVMConfig();
|
||||
define("MMDVMLOGPREFIX", getConfigItem("Log", "FileRoot", $mmdvmconfigs));
|
||||
echo MMDVMLOGPREFIX;
|
||||
$logLinesMMDVM = getMMDVMLog();
|
||||
showLapTime("getMMDVMLog");
|
||||
//getNames(" ");
|
||||
|
|
|
@ -58,10 +58,6 @@ include "include/tools.php";
|
|||
<span class="input-group-addon" id="MMDVMLOGPATH" style="width: 300px">Path to MMDVMHost-logfile</span>
|
||||
<input type="text" value="<?php echo constant("MMDVMLOGPATH") ?>" name="MMDVMLOGPATH" class="form-control" placeholder="/var/log/mmdvm/" aria-describedby="MMDVMLOGPATH" required data-fv-notempty-message="Value is required">
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon" id="MMDVMLOGPREFIX" style="width: 300px">Logfile-prefix</span>
|
||||
<input type="text" value="<?php echo constant("MMDVMLOGPREFIX") ?>" name="MMDVMLOGPREFIX" class="form-control" placeholder="MMDVM" aria-describedby="MMDVMLOGPREFIX" required data-fv-notempty-message="Value is required">
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon" id="MMDVMINIPATH" style="width: 300px">Path to MMDVM.ini</span>
|
||||
<input type="text" value="<?php echo constant("MMDVMINIPATH") ?>" name="MMDVMINIPATH" class="form-control" placeholder="/etc/mmdvm/" aria-describedby="MMDVMINIPATH" required data-fv-notempty-message="Value is required">
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
define("VERSION", "20161025-2");
|
||||
define("VERSION", "20161026-1");
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue