aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-19 13:01:50 -0800
committerzotlabs <mike@macgirvin.com>2016-11-19 13:15:29 -0800
commitabb3341030b15bf123e998ccea667695c7d785e8 (patch)
tree09fbccf854f6909c0f15d6a2f775c45446da2bc1 /Zotlabs/Lib
parent36322acb6dae2400494962c89d0ad6c19409832a (diff)
downloadvolse-hubzilla-abb3341030b15bf123e998ccea667695c7d785e8.tar.gz
volse-hubzilla-abb3341030b15bf123e998ccea667695c7d785e8.tar.bz2
volse-hubzilla-abb3341030b15bf123e998ccea667695c7d785e8.zip
redmatrix is no longer considered a supported platform and will not be listed in pubsites as of 2.x
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/System.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php
index 32aaa82a9..26768af26 100644
--- a/Zotlabs/Lib/System.php
+++ b/Zotlabs/Lib/System.php
@@ -54,5 +54,11 @@ class System {
return '0.0.0';
}
-
+ static public function compatible_project($p) {
+ foreach(['hubzilla','zap'] as $t) {
+ if(stristr($p,$t))
+ return true;
+ }
+ return false;
+ }
}