better version-info of MMDVMHost since MMDVMHost-build 20160515.
This commit is contained in:
parent
e4389db7ad
commit
d0af39d669
2 changed files with 0 additions and 10 deletions
|
@ -3,18 +3,12 @@
|
||||||
function getMMDVMHostVersion() {
|
function getMMDVMHostVersion() {
|
||||||
// returns creation-time of MMDVMHost as version-number
|
// returns creation-time of MMDVMHost as version-number
|
||||||
$filename = MMDVMHOSTPATH . "MMDVMHost";
|
$filename = MMDVMHOSTPATH . "MMDVMHost";
|
||||||
<<<<<<< HEAD
|
|
||||||
exec($filename . " 2>&1", $output);
|
|
||||||
$version = substr($output[1], 10, 4)."-".substr($output[1], 14, 2)."-".substr($output[1], 16, 2)." (compiled ".getMMDVMHostFileVersion().")";
|
|
||||||
return $version;
|
|
||||||
=======
|
|
||||||
exec($filename." -v 2>&1", $output);
|
exec($filename." -v 2>&1", $output);
|
||||||
if (substr($output[0],18,8) == ".ini fil") {
|
if (substr($output[0],18,8) == ".ini fil") {
|
||||||
return getMMDVMHostFileVersion();
|
return getMMDVMHostFileVersion();
|
||||||
} else {
|
} else {
|
||||||
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().")";
|
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().")";
|
||||||
}
|
}
|
||||||
>>>>>>> d49dbc67902a058b9de8b74c08002ee49f6366c7
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMMDVMHostFileVersion() {
|
function getMMDVMHostFileVersion() {
|
||||||
|
|
|
@ -33,11 +33,7 @@ include "include/functions.php";
|
||||||
echo "Hotspot";
|
echo "Hotspot";
|
||||||
}
|
}
|
||||||
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
|
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
|
||||||
<<<<<<< HEAD
|
|
||||||
<h4>MMDVMHost by G4KLX - Version: <?php echo getMMDVMHostVersion() ?></h4>
|
|
||||||
=======
|
|
||||||
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
|
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
|
||||||
>>>>>>> d49dbc67902a058b9de8b74c08002ee49f6366c7
|
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
// Here you can feel free to disable info-sections by commenting out with // before include
|
// Here you can feel free to disable info-sections by commenting out with // before include
|
||||||
|
|
Loading…
Reference in a new issue