X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdefault.php;h=72b82e820fa3026a39feae26da52529d513f6e66;hb=035aae2745e25d44ab9fe1b7bdffbcaa505ba970;hp=e2cc80cb1b2643e6783f32c3233372b97ced9911;hpb=dc5b302fe9ac5906bac29b279dc78ad2d2625536;p=quix0rs-gnu-social.git diff --git a/lib/default.php b/lib/default.php index e2cc80cb1b..72b82e820f 100644 --- a/lib/default.php +++ b/lib/default.php @@ -33,7 +33,7 @@ $default = 'nickname' => 'gnusocial', 'wildcard' => null, 'server' => $_server, - 'theme' => 'neo', + 'theme' => 'neo-gnu', 'path' => $_path, 'logfile' => null, 'logo' => null, @@ -57,7 +57,7 @@ $default = 'ssl' => 'never', 'sslserver' => null, 'dupelimit' => 60, // default for same person saying the same thing - 'textlimit' => 0, // in chars; 0 == no limit + 'textlimit' => 1000, // in chars; 0 == no limit 'indent' => true, 'use_x_sendfile' => false, 'notice' => null, // site wide notice text @@ -113,9 +113,9 @@ $default = 'license' => array('type' => 'cc', # can be 'cc', 'allrightsreserved', 'private' 'owner' => null, # can be name of content owner e.g. for enterprise - 'url' => 'http://creativecommons.org/licenses/by/3.0/', + 'url' => 'https://creativecommons.org/licenses/by/3.0/', 'title' => 'Creative Commons Attribution 3.0', - 'image' => 'http://i.creativecommons.org/l/by/3.0/80x15.png'), + 'image' => $_path . '/theme/licenses/cc_by_3.0_80x15.png'), 'mail' => array('backend' => 'mail', 'params' => null, @@ -126,6 +126,7 @@ $default = 'profile' => array('banned' => array(), 'biolimit' => null, + 'changenick' => false, 'backup' => true, 'restore' => true, 'delete' => false, @@ -144,7 +145,7 @@ $default = 'path' => $_path . '/background/', 'ssl' => null), 'public' => - array('localonly' => true, + array('localonly' => false, 'blacklist' => array(), 'autosource' => array()), 'theme' => @@ -210,6 +211,7 @@ $default = array('server' => null, 'dir' => INSTALLDIR . '/file/', 'path' => $_path . '/file/', + 'chmod' => 0644, // Access rights (chmod) for any attachments 'sslserver' => null, 'sslpath' => null, 'ssl' => null, @@ -255,9 +257,10 @@ $default = ), 'thumbnail' => array('crop' => false, // overridden to true if thumb height === null - 'maxsize' => 600, // thumbs with an edge larger than this will not be generated + 'maxsize' => 1000, // thumbs with an edge larger than this will not be generated 'width' => 450, - 'height' => 600), + 'height' => 600, + 'animated' => false), // null="UseFileAsThumbnail", false="can use still frame". true requires ImageMagickPlugin 'application' => array('desclimit' => null), 'group' => @@ -300,9 +303,11 @@ $default = ), 'default' => array( 'Activity' => array(), + 'AntiBrute' => array(), 'Bookmark' => array(), 'ClientSideShorten' => array(), 'Directory' => array(), + 'DirectMessage' => array(), 'EmailAuthentication' => array(), 'Event' => array(), 'Oembed' => array(), @@ -343,7 +348,8 @@ $default = 'maxurllength' => 100, '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') + 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.) 'proxy_host' => null, 'proxy_port' => null,