mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
Release Technical Preview 3
This commit is contained in:
parent
b7654c8d16
commit
534eb21618
1 changed files with 1 additions and 1 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 = true; # plz remove when release
|
$showCommitHash = false; # 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
|
||||||
|
|
Loading…
Reference in a new issue