mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-03 04:29:14 +00:00
use static version for session checking, show latest changeset for git version instead of head date
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
if (is_dir("$root_dir/.git") && file_exists("$root_dir/.git/ORIG_HEAD")) {
|
||||
|
||||
$suffix = date("Ymd", filemtime("$root_dir/.git/ORIG_HEAD"));
|
||||
$suffix = substr(trim(file_get_contents("$root_dir/.git/ORIG_HEAD")), 0, 7);
|
||||
|
||||
return VERSION_STATIC . ".$suffix";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user