mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:25:57 +00:00
get_version: add missing substr
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
return VERSION_STATIC . " ($suffix)";
|
return VERSION_STATIC . " ($suffix)";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$suffix = trim($head, 0, 7);
|
$suffix = substr(trim($head), 0, 7);
|
||||||
$timestamp = filemtime("$root_dir/.git/HEAD");
|
$timestamp = filemtime("$root_dir/.git/HEAD");
|
||||||
|
|
||||||
define("GIT_VERSION_HEAD", $suffix);
|
define("GIT_VERSION_HEAD", $suffix);
|
||||||
|
|||||||
Reference in New Issue
Block a user