forked from GNUsocial/gnu-social
Add upload location to attachments config section
This commit is contained in:
parent
b021cb7288
commit
09e24af683
@ -191,38 +191,41 @@ $config =
|
|||||||
array('run' => 'web',
|
array('run' => 'web',
|
||||||
'frequency' => 10000,
|
'frequency' => 10000,
|
||||||
'reporturl' => 'http://laconi.ca/stats/report'),
|
'reporturl' => 'http://laconi.ca/stats/report'),
|
||||||
'attachments' =>
|
'attachments' =>
|
||||||
array('supported' => array('image/png',
|
array('server' => null,
|
||||||
'image/jpeg',
|
'dir' => INSTALLDIR . '/file/',
|
||||||
'image/gif',
|
'path' => $_path . '/file/',
|
||||||
'image/svg+xml',
|
'supported' => array('image/png',
|
||||||
'audio/mpeg',
|
'image/jpeg',
|
||||||
'audio/x-speex',
|
'image/gif',
|
||||||
'application/ogg',
|
'image/svg+xml',
|
||||||
'application/pdf',
|
'audio/mpeg',
|
||||||
'application/vnd.oasis.opendocument.text',
|
'audio/x-speex',
|
||||||
'application/vnd.oasis.opendocument.text-template',
|
'application/ogg',
|
||||||
'application/vnd.oasis.opendocument.graphics',
|
'application/pdf',
|
||||||
'application/vnd.oasis.opendocument.graphics-template',
|
'application/vnd.oasis.opendocument.text',
|
||||||
'application/vnd.oasis.opendocument.presentation',
|
'application/vnd.oasis.opendocument.text-template',
|
||||||
'application/vnd.oasis.opendocument.presentation-template',
|
'application/vnd.oasis.opendocument.graphics',
|
||||||
'application/vnd.oasis.opendocument.spreadsheet',
|
'application/vnd.oasis.opendocument.graphics-template',
|
||||||
'application/vnd.oasis.opendocument.spreadsheet-template',
|
'application/vnd.oasis.opendocument.presentation',
|
||||||
'application/vnd.oasis.opendocument.chart',
|
'application/vnd.oasis.opendocument.presentation-template',
|
||||||
'application/vnd.oasis.opendocument.chart-template',
|
'application/vnd.oasis.opendocument.spreadsheet',
|
||||||
'application/vnd.oasis.opendocument.image',
|
'application/vnd.oasis.opendocument.spreadsheet-template',
|
||||||
'application/vnd.oasis.opendocument.image-template',
|
'application/vnd.oasis.opendocument.chart',
|
||||||
'application/vnd.oasis.opendocument.formula',
|
'application/vnd.oasis.opendocument.chart-template',
|
||||||
'application/vnd.oasis.opendocument.formula-template',
|
'application/vnd.oasis.opendocument.image',
|
||||||
'application/vnd.oasis.opendocument.text-master',
|
'application/vnd.oasis.opendocument.image-template',
|
||||||
'application/vnd.oasis.opendocument.text-web',
|
'application/vnd.oasis.opendocument.formula',
|
||||||
'application/x-zip',
|
'application/vnd.oasis.opendocument.formula-template',
|
||||||
'application/zip',
|
'application/vnd.oasis.opendocument.text-master',
|
||||||
'text/plain',
|
'application/vnd.oasis.opendocument.text-web',
|
||||||
'video/mpeg',
|
'application/x-zip',
|
||||||
'video/mp4',
|
'application/zip',
|
||||||
'video/quicktime',
|
'text/plain',
|
||||||
'video/mpeg'),
|
'video/mpeg',
|
||||||
|
'video/mp4',
|
||||||
|
'video/quicktime',
|
||||||
|
'video/mpeg'),
|
||||||
'file_quota' => 5000000,
|
'file_quota' => 5000000,
|
||||||
'user_quota' => 50000000,
|
'user_quota' => 50000000,
|
||||||
'monthly_quota' => 15000000,
|
'monthly_quota' => 15000000,
|
||||||
|
Loading…
Reference in New Issue
Block a user