added git version to footer
This commit is contained in:
parent
5e69177f73
commit
03eddb920d
2 changed files with 7 additions and 1 deletions
|
@ -848,4 +848,10 @@ function decodeAlias($logLine) {
|
|||
$tok7 = encode(dechex(hexdec(substr($logLine, 58, 2))/2));
|
||||
return $tok1.$tok2.$tok3.$tok4.$tok5.$tok6.$tok7;
|
||||
}
|
||||
|
||||
|
||||
function getGitVersion(){
|
||||
exec("git rev-parse HEAD", $output);
|
||||
return 'GitID #<a href="https://github.com/dg9vh/MMDVMHost-Dashboard/commit/'.substr($output[0],0,7).'">'.substr($output[0],0,7).'</a>';
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
define("VERSION", "20170314-2");
|
||||
define("VERSION", "20170315-1 (".getGitVersion().")");
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue