aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/System.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-01 14:45:24 -0800
committerzotlabs <mike@macgirvin.com>2016-12-01 14:45:24 -0800
commit47a356ff52900fd8cd8d4980b44c69c13b2e612f (patch)
treeb8e64fa24f51713c008b4ce64127af74d0a3ec87 /Zotlabs/Lib/System.php
parent4e6a9fb2020da10bb8b0e46fb8bce5a3fc54504b (diff)
downloadvolse-hubzilla-47a356ff52900fd8cd8d4980b44c69c13b2e612f.tar.gz
volse-hubzilla-47a356ff52900fd8cd8d4980b44c69c13b2e612f.tar.bz2
volse-hubzilla-47a356ff52900fd8cd8d4980b44c69c13b2e612f.zip
compatible_project: we are only concerned with the default realm
Diffstat (limited to 'Zotlabs/Lib/System.php')
-rw-r--r--Zotlabs/Lib/System.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php
index 70443016f..306c90f4a 100644
--- a/Zotlabs/Lib/System.php
+++ b/Zotlabs/Lib/System.php
@@ -69,6 +69,10 @@ class System {
}
static public function compatible_project($p) {
+
+ if(get_directory_realm() != DIRECTORY_REALM)
+ return true;
+
foreach(['hubzilla','zap'] as $t) {
if(stristr($p,$t))
return true;