wrong position of github-commit-number

This commit is contained in:
Kim Huebel 2017-07-14 20:04:40 +02:00
parent 780aefa6e9
commit f861b5a719
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ function getDMRGatewayVersion() {
} else { } else {
showLapTime("getDMRGatewayVersion"); showLapTime("getDMRGatewayVersion");
if (strlen($output[0]) > 26) { if (strlen($output[0]) > 26) {
return substr($output[0],19,8)." ("._("compiled")." ".getDMRGatewayFileVersion(). ", GitID #<a href=\"https://github.com/g4klx/DMRGateway/commit/" . substr($output[0],32,7) . "\" target=\"_blank\">" . substr($output[0],32,7) . "</a>)"; return substr($output[0],19,8)." ("._("compiled")." ".getDMRGatewayFileVersion(). ", GitID #<a href=\"https://github.com/g4klx/DMRGateway/commit/" . substr($output[0],33,7) . "\" target=\"_blank\">" . substr($output[0],33,7) . "</a>)";
} else { } else {
return substr($output[0],19,8)." ("._("compiled")." ".getDMRGatewayFileVersion(). ")"; return substr($output[0],19,8)." ("._("compiled")." ".getDMRGatewayFileVersion(). ")";
} }

View file

@ -1,3 +1,3 @@
<?php <?php
define("VERSION", "20170712-2 (".getGitVersion().")"); define("VERSION", "20170714-1 (".getGitVersion().")");
?> ?>