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,7 +9,11 @@ function getMMDVMHostVersion() {
|
|||
return getMMDVMHostFileVersion();
|
||||
} else {
|
||||
showLapTime("getMMDVMHostVersion");
|
||||
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().")";
|
||||
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(). ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue