Update config.php: $ttrss_version in private function _get_version() replaced by $this->version
This commit is contained in:
parent
0fcc2d1d66
commit
a60c833ee4
|
@ -316,7 +316,7 @@ class Config {
|
|||
$this->version["status"] = -1;
|
||||
|
||||
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")) {
|
||||
$this->version["version"] = trim(file_get_contents("$root_dir/version_static.txt")) . " (Unsupported)";
|
||||
} else if (ini_get("open_basedir")) {
|
||||
|
|
Loading…
Reference in New Issue