Update config.php: $ttrss_version in private function _get_version() replaced by $this->version

This commit is contained in:
Jan Pieter Kunst 2023-04-06 18:36:36 +00:00
parent 0fcc2d1d66
commit a60c833ee4
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ class Config {
$this->version["status"] = -1; $this->version["status"] = -1;
if (PHP_OS === "Darwin") { if (PHP_OS === "Darwin") {
$ttrss_version["version"] = "UNKNOWN (Unsupported, Darwin)"; $this->version["version"] = "UNKNOWN (Unsupported, Darwin)";
} else if (file_exists("$root_dir/version_static.txt")) { } else if (file_exists("$root_dir/version_static.txt")) {
$this->version["version"] = trim(file_get_contents("$root_dir/version_static.txt")) . " (Unsupported)"; $this->version["version"] = trim(file_get_contents("$root_dir/version_static.txt")) . " (Unsupported)";
} else if (ini_get("open_basedir")) { } else if (ini_get("open_basedir")) {