X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdefault.php;h=b19d3e4580d25765f371884caff38e242cb8e476;hb=3326b7b850f538f0e3c2c7969c5e566e2a374ffb;hp=bb68e1e5a499721be930fb2d971bfb416d61ae03;hpb=abd90bbdf562614755802885dfb5673645df8575;p=quix0rs-gnu-social.git diff --git a/lib/default.php b/lib/default.php index bb68e1e5a4..b19d3e4580 100644 --- a/lib/default.php +++ b/lib/default.php @@ -48,6 +48,7 @@ $default = 'languages' => get_all_languages(), 'email' => array_key_exists('SERVER_ADMIN', $_SERVER) ? $_SERVER['SERVER_ADMIN'] : null, + 'fakeaddressrecovery' => true, 'broughtby' => null, 'timezone' => 'UTC', 'broughtbyurl' => null, @@ -128,7 +129,7 @@ $default = 'biolimit' => null, 'changenick' => false, 'backup' => true, - 'restore' => true, + 'restore' => false, 'delete' => false, 'move' => true), 'image' => @@ -139,11 +140,6 @@ $default = 'path' => $_path . '/avatar/', 'ssl' => null, 'maxsize' => 300), - 'background' => - array('server' => null, - 'dir' => INSTALLDIR . '/background/', - 'path' => $_path . '/background/', - 'ssl' => null), 'public' => array('localonly' => false, 'blacklist' => array(), @@ -275,10 +271,6 @@ $default = 'maxpeople' => 500, // maximum no. of people with the same tag by the same user 'allow_tagging' => array('all' => true), // equivalent to array('local' => true, 'remote' => true) 'desclimit' => null), - 'oembed' => - array('endpoint' => null, // 'https://noembed.com/embed/' for proxied oEmbed data - 'order' => array('built-in', 'well-known', 'service', 'discovery'), - ), 'search' => array('type' => 'like'), 'sessions' => @@ -304,12 +296,13 @@ $default = 'plugins' => array('core' => array( 'ActivityVerb' => array(), + 'ActivityVerbPost' => array(), + 'ActivityModeration' => array(), 'AuthCrypt' => array(), 'Cronish' => array(), 'Favorite' => array(), 'Share' => array(), 'LRDD' => array(), - 'StrictTransportSecurity' => array(), ), 'default' => array( 'Activity' => array(), @@ -326,7 +319,6 @@ $default = 'OpportunisticQM' => array(), 'OStatus' => array(), 'Poll' => array(), - 'QnA' => array(), 'SearchSub' => array(), 'TagSub' => array(), 'WebFinger' => array(), @@ -337,7 +329,6 @@ $default = 'path' => null, 'sslpath' => null, ), - 'pluginlist' => array(), 'admin' => array('panels' => array('site', 'user', 'paths', 'access', 'sessions', 'sitenotice', 'license', 'plugins')), 'singleuser' => @@ -362,6 +353,7 @@ $default = array('ssl_cafile' => false, // To enable SSL cert validation, point to a CA bundle (eg '/usr/lib/ssl/certs/ca-certificates.crt') (this activates "ssl_verify_peer") 'ssl_verify_host' => true, // HTTPRequest2 makes sure this is set to CURLOPT_SSL_VERIFYHOST==2 if using curl 'curl' => false, // Use CURL backend for HTTP fetches if available. (If not, PHP's socket streams will be used.) + 'connect_timeout' => 5, 'proxy_host' => null, 'proxy_port' => null, 'proxy_user' => null,