mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Revert "Global: Add ability to configure display of commit hash"
I did something strange
This commit is contained in:
parent
9425180a6f
commit
a77aafbcba
2 changed files with 1 additions and 2 deletions
|
@ -227,7 +227,7 @@ return (function() {
|
||||||
if(empty($_SERVER["REQUEST_SCHEME"]))
|
if(empty($_SERVER["REQUEST_SCHEME"]))
|
||||||
$_SERVER["REQUEST_SCHEME"] = empty($_SERVER["HTTPS"]) ? "HTTP" : "HTTPS";
|
$_SERVER["REQUEST_SCHEME"] = empty($_SERVER["HTTPS"]) ? "HTTP" : "HTTPS";
|
||||||
|
|
||||||
$showCommitHash = OPENVK_ROOT_CONF["openvk"]["preferences"]["bellsAndWhistles"]["showCommitHash"] ?? true;
|
$showCommitHash = true; # plz remove when release
|
||||||
if(is_dir($gitDir = OPENVK_ROOT . "/.git") && $showCommitHash)
|
if(is_dir($gitDir = OPENVK_ROOT . "/.git") && $showCommitHash)
|
||||||
$ver = trim(`git --git-dir="$gitDir" log --pretty="%h" -n1 HEAD` ?? "Unknown version") . "-nightly";
|
$ver = trim(`git --git-dir="$gitDir" log --pretty="%h" -n1 HEAD` ?? "Unknown version") . "-nightly";
|
||||||
else
|
else
|
||||||
|
|
|
@ -59,7 +59,6 @@ openvk:
|
||||||
bellsAndWhistles:
|
bellsAndWhistles:
|
||||||
fartscroll: false
|
fartscroll: false
|
||||||
testLabel: false
|
testLabel: false
|
||||||
showCommitHash: true
|
|
||||||
defaultMobileTheme: ""
|
defaultMobileTheme: ""
|
||||||
|
|
||||||
telemetry:
|
telemetry:
|
||||||
|
|
Loading…
Reference in a new issue