Added configurable options for attachments: supported mimetypes and quotas for uploads.

This commit is contained in:
Robin Millette
2009-05-31 16:42:29 -04:00
parent ed1e1d9f44
commit 3e0c291810
6 changed files with 1136 additions and 30 deletions

View File

@@ -215,3 +215,11 @@ $config['sphinx']['port'] = 3312;
// $config['snapshot']['run'] = 'never';
// If you want to report statistics in a cron job instead.
// $config['snapshot']['run'] = 'cron';
// Support for file uploads (attachments),
// select supported mimetypes and quotas (in bytes)
// $config['attachments']['supported'] = array('image/png', 'application/ogg');
// $config['attachments']['file_quota'] = 5000000;
// $config['attachments']['user_quota'] = 50000000;
// $config['attachments']['monthly_quota'] = 15000000;