better version-info of MMDVMHost since MMDVMHost-build 20160515.
This commit is contained in:
parent
4b0e7027bf
commit
b63154b7ed
1 changed files with 5 additions and 1 deletions
|
@ -4,8 +4,12 @@ function getMMDVMHostVersion() {
|
||||||
// returns creation-time of MMDVMHost as version-number
|
// returns creation-time of MMDVMHost as version-number
|
||||||
$filename = MMDVMHOSTPATH . "MMDVMHost";
|
$filename = MMDVMHOSTPATH . "MMDVMHost";
|
||||||
exec($filename." -v 2>&1", $output);
|
exec($filename." -v 2>&1", $output);
|
||||||
|
if (substr($output[0],18,8) == ".ini fil") {
|
||||||
|
return getMMDVMHostFileVersion();
|
||||||
|
} else {
|
||||||
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().")";
|
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().")";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function getMMDVMHostFileVersion() {
|
function getMMDVMHostFileVersion() {
|
||||||
// returns creation-time of MMDVMHost as version-number
|
// returns creation-time of MMDVMHost as version-number
|
||||||
|
|
Loading…
Reference in a new issue