Merge pull request #111 from m1geo/patch-1
Added GitID from MMDVMHost to Dashboard
This commit is contained in:
commit
8957a1c657
1 changed files with 5 additions and 1 deletions
|
@ -9,9 +9,13 @@ function getMMDVMHostVersion() {
|
|||
return getMMDVMHostFileVersion();
|
||||
} else {
|
||||
showLapTime("getMMDVMHostVersion");
|
||||
if (strlen($output[0]) > 26) {
|
||||
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion(). ", GitID #<a href=\"https://github.com/g4klx/MMDVMHost/commit/" . substr($output[0],32,7) . "\">" . substr($output[0],32,7) . "</a>)";
|
||||
} else {
|
||||
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion(). ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getMMDVMHostFileVersion() {
|
||||
// returns creation-time of MMDVMHost as version-number
|
||||
|
|
Loading…
Reference in a new issue