summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-19 07:04:01 +0300
committerAndrew Dolgov <[email protected]>2019-12-19 07:04:01 +0300
commitc309856a976b230a56b1eb700590111bd2ad7451 (patch)
tree54abdcfc46ef49f81a27343b3e117a699d48c25d /include
parent74feef0f9d7258570a6c6a7a694fc1a0394843ca (diff)
get_version: filter out Darwin
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 3b71eb0bd..47dd9c73c 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1899,6 +1899,8 @@
if ('\\' === DIRECTORY_SEPARATOR) {
$ttrss_version = "UNKNOWN (Unsupported, Windows)";
+ } else if (PHP_OS === "Darwin") {
+ $ttrss_version = "UNKNOWN (Unsupported, Darwin)";
} else if (file_exists("$root_dir/version_static.txt")) {
$ttrss_version = trim(file_get_contents("$root_dir/version_static.txt")) . " (Unsupported)";
} else if (is_dir("$root_dir/.git")) {