mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 16:14:26 +02:00
create workaround for not working php
Strings:getBytesFromShorthand i created a js-function which converts integer, k, m and g to MB Just remove this code, when we found out, why Strings is in some files not working.
This commit is contained in:
parent
00ae7d0f59
commit
3688196859
9 changed files with 50 additions and 12 deletions
|
@ -185,9 +185,9 @@ class Edit extends BaseModule
|
|||
|
||||
'$compose_link_title' => $this->t('Open Compose page'),
|
||||
// Dropzone
|
||||
//'$max_imagesize' => Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize'));
|
||||
//'$max_imagesize' => \Friendica\\Util\\Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize'));
|
||||
// both not working, so just workaround here until fixed
|
||||
//'$max_imagesize' => Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize'));
|
||||
// both not working, so just workaround in template and serve the bare value
|
||||
'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue