compatible_project: we are only concerned with the default realm

This commit is contained in:
zotlabs 2016-12-01 14:45:24 -08:00
parent 4e6a9fb202
commit 47a356ff52

View File

@ -69,6 +69,10 @@ class System {
} }
static public function compatible_project($p) { static public function compatible_project($p) {
if(get_directory_realm() != DIRECTORY_REALM)
return true;
foreach(['hubzilla','zap'] as $t) { foreach(['hubzilla','zap'] as $t) {
if(stristr($p,$t)) if(stristr($p,$t))
return true; return true;