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