]> 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 7aa50bc3d908574722b25ba98355ae6486df4483..cc81910b8974a6d1859b85a3201e895d2e87cc22 100644 (file)
@@ -131,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/',