compatible_project: we are only concerned with the default realm
This commit is contained in:
parent
4e6a9fb202
commit
47a356ff52
@ -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;
|
||||||
|
Reference in New Issue
Block a user