mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-04 22:01:00 +01:00
better check for docker
This commit is contained in:
parent
938f7db482
commit
bd66eff7cc
@ -299,7 +299,7 @@ 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")) {
|
} else if (!getenv("TTRSS_SELF_URL_PATH") || !file_exists("/.dockerenv")) {
|
||||||
$this->version["version"] .= " (Unsupported)";
|
$this->version["version"] .= " (Unsupported)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user