Added a shortened commit hash along the version

The commit value is replaced when building the zip file
This commit is contained in:
Wruczek
2018-12-30 04:27:43 +01:00
parent e1e95639ad
commit d8fec04d81
4 changed files with 9 additions and 2 deletions

View File

@ -13,6 +13,7 @@ if(!empty($_COOKIE["tsw_allow_metrics"])) {
$data = [
"tswVersion" => __TSWEBSITE_VERSION,
"tswCommit" => __TSWEBSITE_COMMIT,
"phpVersion" => PHP_VERSION,
"os" => sprintf("%s %s %s %s", php_uname("s"), php_uname("r"), php_uname("v"), php_uname("m")), // no hostname
"webServer" => $_SERVER["SERVER_SOFTWARE"],