mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 03:51:29 +00:00
correctly show non-docker git installs as unsupported
This commit is contained in:
@@ -299,7 +299,10 @@ class Config {
|
|||||||
user_error("Unable to determine version: " . $this->version["version"], E_USER_WARNING);
|
user_error("Unable to determine version: " . $this->version["version"], E_USER_WARNING);
|
||||||
|
|
||||||
$this->version["version"] = "UNKNOWN (Unsupported, Git error)";
|
$this->version["version"] = "UNKNOWN (Unsupported, Git error)";
|
||||||
|
} else if (!getenv("TTRSS_SELF_URL_PATH") || !getenv("SCRIPT_ROOT")) {
|
||||||
|
$this->version["version"] .= " (Unsupported)";
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$this->version["version"] = "UNKNOWN (Unsupported)";
|
$this->version["version"] = "UNKNOWN (Unsupported)";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user