]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/default.php
Properly unlink all old avatars when deleting/uploading a new
[quix0rs-gnu-social.git] / lib / default.php
index 82ffe80a5db4a51d678950d04a4861a94c756233..cc81910b8974a6d1859b85a3201e895d2e87cc22 100644 (file)
@@ -56,14 +56,13 @@ $default =
               'private' => true,
               'ssl' => 'never',
               'sslserver' => null,
-              'shorturllength' => 30,
               'dupelimit' => 60, // default for same person saying the same thing
               'textlimit' => 0, // in chars; 0 == no limit
               'indent' => true,
               '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
+              'minify' => false, // true to use the minified versions of JS files; false to use orig files. Can aid during development
               ),
         'db' =>
           array('database' => null, // must be set
@@ -132,11 +131,14 @@ $default =
               'restore' => true,
               'delete' => false,
               'move' => true),
+        'image' =>
+        array('jpegquality' => 85),
         'avatar' =>
         array('server' => null,
               'dir' => INSTALLDIR . '/avatar/',
               'path' => $_path . '/avatar/',
-              'ssl' => null),
+              'ssl' => null,
+              'maxsize' => 300),
         'background' =>
         array('server' => null,
               'dir' => INSTALLDIR . '/background/',
@@ -294,7 +296,7 @@ $default =
         array('contentlimit' => null),
         'location' =>
         array('share' => 'user', // whether to share location; 'always', 'user', 'never'
-              'sharedefault' => true),
+              'sharedefault' => false),
         'omb' =>
         array('timeout' => 5), // HTTP request timeout in seconds when contacting remote hosts for OMB updates
         'logincommand' =>
@@ -337,8 +339,8 @@ $default =
               'peopletag' => true,
               'external' => 'sometimes'), // Options: 'sometimes', 'never', default = 'sometimes'
         'url' =>
-        array('shortener' => 'ur1.ca',
-              'maxlength' => 25,
+        array('shortener' => 'internal',
+              'maxlength' => 60,
               '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')