X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdefault.php;h=84eaf3bf2a46d69c289b920de62d42e09de9ab62;hb=68b1c057056a5db7601683383f7e466031d336bc;hp=2ddc47bd17fbef451e16c049a5b18c9335fd24d5;hpb=8eb66467165e107d0c80c64f6c429fed1d1101d5;p=quix0rs-gnu-social.git diff --git a/lib/default.php b/lib/default.php index 2ddc47bd17..84eaf3bf2a 100644 --- a/lib/default.php +++ b/lib/default.php @@ -33,7 +33,7 @@ $default = 'nickname' => 'statusnet', 'wildcard' => null, 'server' => $_server, - 'theme' => 'default', + 'theme' => 'neo', 'path' => $_path, 'logfile' => null, 'logo' => null, @@ -53,7 +53,7 @@ $default = 'broughtbyurl' => null, 'closed' => false, 'inviteonly' => false, - 'private' => false, + 'private' => true, 'ssl' => 'never', 'sslserver' => null, 'shorturllength' => 30, @@ -63,6 +63,7 @@ $default = 'use_x_sendfile' => false, 'notice' => null, // site wide notice text 'build' => 1, // build number, for code-dependent cache + 'minify' => true, // true to use the minified versions of JS files; false to use orig files. Can aid during development ), 'db' => array('database' => 'YOU HAVE TO SET THIS IN config.php', @@ -78,7 +79,8 @@ $default = 'schemacheck' => 'runtime', // 'runtime' or 'script' 'annotate_queries' => false, // true to add caller comments to queries, eg /* POST Notice::saveNew */ 'log_queries' => false, // true to log all DB queries - 'log_slow_queries' => 0), // if set, log queries taking over N seconds + 'log_slow_queries' => 0, // if set, log queries taking over N seconds + 'mysql_foreign_keys' => false), // if set, enables experimental foreign key support on MySQL 'syslog' => array('appname' => 'statusnet', # for syslog 'priority' => 'debug', # XXX: currently ignored @@ -267,7 +269,10 @@ $default = 'group' => array('maxaliases' => 3, 'desclimit' => null), - 'oohembed' => array('endpoint' => 'http://oohembed.com/oohembed/'), + 'oembed' => + array('endpoint' => 'http://oohembed.com/oohembed/', + 'order' => array('built-in', 'well-known', 'service', 'discovery'), + ), 'search' => array('type' => 'fulltext'), 'sessions' => @@ -286,7 +291,8 @@ $default = array('enabled' => true, 'css' => ''), 'notice' => - array('contentlimit' => null), + array('contentlimit' => null, + 'defaultscope' => 0), // set to 0 for default open 'message' => array('contentlimit' => null), 'location' => @@ -297,26 +303,25 @@ $default = 'logincommand' => array('disabled' => true), 'plugins' => - array('default' => array('LilUrl' => array('shortenerName'=>'ur1.ca', - 'freeService' => true, - 'serviceUrl'=>'http://ur1.ca/'), - 'PtitUrl' => array('shortenerName' => 'ptiturl.com', - 'serviceUrl' => 'http://ptiturl.com/?creer=oui&action=Reduire&url=%1$s'), - 'SimpleUrl' => array(array('shortenerName' => 'is.gd', 'serviceUrl' => 'http://is.gd/api.php?longurl=%1$s'), - array('shortenerName' => 'snipr.com', 'serviceUrl' => 'http://snipr.com/site/snip?r=simple&link=%1$s'), - array('shortenerName' => 'metamark.net', 'serviceUrl' => 'http://metamark.net/api/rest/simple?long_url=%1$s'), - array('shortenerName' => 'tinyurl.com', 'serviceUrl' => 'http://tinyurl.com/api-create.php?url=%1$s')), - 'TightUrl' => array('shortenerName' => '2tu.us', 'freeService' => true,'serviceUrl'=>'http://2tu.us/?save=y&url=%1$s'), - 'Geonames' => null, - 'Mapstraction' => null, - 'OStatus' => null, - 'WikiHashtags' => null, - 'RSSCloud' => null, + array('default' => array('Geonames' => null, + 'ClientSideShorten' => null, + 'StrictTransportSecurity' => null, + 'Bookmark' => null, + 'Event' => null, + 'Poll' => null, + 'QnA' => null, + 'SearchSub' => null, + 'TagSub' => null, 'OpenID' => null), 'locale_path' => false, // Set to a path to use *instead of* each plugin's own locale subdirectories + 'server' => null, + 'sslserver' => null, + 'path' => null, + 'sslpath' => null, ), + 'pluginlist' => array(), 'admin' => - array('panels' => array('design', 'site', 'user', 'paths', 'access', 'sessions', 'sitenotice', 'license')), + array('panels' => array('design', 'site', 'user', 'paths', 'access', 'sessions', 'sitenotice', 'license', 'plugins')), 'singleuser' => array('enabled' => false, 'nickname' => null), @@ -331,6 +336,10 @@ $default = 'members' => true, 'peopletag' => true, 'external' => 'sometimes'), // Options: 'sometimes', 'never', default = 'sometimes' + 'url' => + array('shortener' => 'ur1.ca', + 'maxlength' => 25, + 'maxnoticelength' => -1), 'http' => // HTTP client settings when contacting other sites array('ssl_cafile' => false, // To enable SSL cert validation, point to a CA bundle (eg '/usr/lib/ssl/certs/ca-certificates.crt') 'curl' => false, // Use CURL backend for HTTP fetches if available. (If not, PHP's socket streams will be used.)