X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsiteprofile.php;h=a2c09efb2f6be08f5dc0919573ff1a0b601d5d71;hb=d2e6519bad041e50b4ae7df441e43fd2cfed46fc;hp=d2a4a00204d34f33ba48c1998be2467f740bed1a;hpb=c15216f00bfde401f6c717842ee3e41b49fddc72;p=quix0rs-gnu-social.git diff --git a/lib/siteprofile.php b/lib/siteprofile.php index d2a4a00204..a2c09efb2f 100644 --- a/lib/siteprofile.php +++ b/lib/siteprofile.php @@ -110,7 +110,6 @@ class PublicSite extends SiteProfileSettings 'plugins' => array( 'core' => self::corePlugins(), 'default' => array_merge(self::defaultPlugins(), array( - 'ExtendedProfile' => array(), 'RegisterThrottle' => array(), )) ), @@ -151,6 +150,7 @@ class PrivateSite extends SiteProfileSettings 'disable-OStatus' => 1, 'disable-WebFinger' => 1, ), + 'public' => array('localonly' => true), 'profile' => array('delete' => 'true'), 'license' => array('type' => 'private'), 'attachments' => array( @@ -199,6 +199,7 @@ class CommunitySite extends SiteProfileSettings 'default' => array_merge(self::defaultPlugins(), array( )) ), + 'public' => array('localonly' => true), 'discovery' => array('cors' => true) // Allow Cross-Origin Resource Sharing for service discovery (host-meta, XRD, etc.) ); } @@ -224,17 +225,17 @@ class SingleuserSite extends SiteProfileSettings $config['site'], array( 'private' => false, 'closed' => true, + 'localonly' => true, ) ), 'plugins' => array( 'core' => self::corePlugins(), 'default' => array_merge(self::defaultPlugins(), array( 'MobileProfile' => array(), - 'TwitterBridge' => array(), - 'FacebookBridge' => array(), )), 'disable-Directory' => 1, ), + 'public' => array('localonly' => true), 'discovery' => array('cors' => true) // Allow Cross-Origin Resource Sharing for service discovery (host-meta, XRD, etc.) ); }