Test with modified MMDVMHost \(version-number by G0WFV\)
This commit is contained in:
parent
26b8b15d2b
commit
18951fa760
2 changed files with 10 additions and 2 deletions
|
@ -1,10 +1,18 @@
|
|||
<?php
|
||||
|
||||
function getMMDVMHostVersion() {
|
||||
// returns creation-time of MMDVMHost as version-number
|
||||
$filename = MMDVMHOSTPATH . "MMDVMHost";
|
||||
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;
|
||||
}
|
||||
|
||||
function getMMDVMHostFileVersion() {
|
||||
// returns creation-time of MMDVMHost as version-number
|
||||
$filename = MMDVMHOSTPATH . "MMDVMHost";
|
||||
if (file_exists($filename)) {
|
||||
return date("Y-m-d", filectime($filename));
|
||||
return date("d M y", filectime($filename));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ include "include/functions.php";
|
|||
echo "Hotspot";
|
||||
}
|
||||
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
|
||||
<h4>MMDVMHost v<?php echo getMMDVMHostVersion() ?> by G4KLX</h4>
|
||||
<h4>MMDVMHost by G4KLX - Version: <?php echo getMMDVMHostVersion() ?></h4>
|
||||
</div>
|
||||
<?php
|
||||
// Here you can feel free to disable info-sections by commenting out with // before include
|
||||
|
|
Loading…
Reference in a new issue