mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-31 02:01:28 +00:00
trim() contents of version_static.txt
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
$root_dir = dirname(dirname(__FILE__));
|
||||
|
||||
if (file_exists("$root_dir/version_static.txt")) {
|
||||
$version = file_get_contents("$root_dir/version_static.txt") . " (Unsupported)";
|
||||
$version = trim(file_get_contents("$root_dir/version_static.txt")) . " (Unsupported)";
|
||||
} else if (is_dir("$root_dir/.git")) {
|
||||
$rc = 0;
|
||||
$output = [];
|
||||
|
||||
Reference in New Issue
Block a user