mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:10:11 +00:00
create factory for dropzones
This commit is contained in:
parent
39f7660a1d
commit
ada11a2c67
4 changed files with 5 additions and 43 deletions
|
@ -242,7 +242,7 @@ class Compose extends BaseModule
|
|||
]),
|
||||
|
||||
// Dropzone
|
||||
'$max_imagesize' => floor(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000),
|
||||
'$max_imagesize' => floor(\Friendica\Util\Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue