1
0
Fork 0

take maxFilesize from systemsettings

* does not work everywhere...
This commit is contained in:
Jakobus Schürz 2023-03-13 13:47:09 +01:00
commit be2afac60d
8 changed files with 40 additions and 8 deletions

View file

@ -1068,7 +1068,9 @@ class Post
'$prompttext' => DI::l10n()->t('Please enter a image/video/audio/webpage URL:'),
'$preview' => DI::l10n()->t('Preview'),
'$indent' => $indent,
'$rand_num' => Crypto::randomDigits(12)
'$rand_num' => Crypto::randomDigits(12),
// Dropzone
'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
]);
}