X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=18db9c15d997e8433ddd6d62552cdb56cc73e5ae;hb=52a25ce6181c0b48a978f37a4ae3b94357dbb712;hp=a8b63d12dffd60649f4ee7e6c34b79508d6bee6b;hpb=be2afac60d1108408bfae674b1594aa983d6c254;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index a8b63d12df..18db9c15d9 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1140,10 +1140,6 @@ function photos_content(App $a) '$loading' => DI::l10n()->t('Loading...'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - //'$max_imagesize' => DI::config()->get('system', 'maximagesize'), - // don't know, if DI::config.. does not work here, so it is set to a manual value - '$max_imagesize' => 100000, ]); } } @@ -1199,10 +1195,6 @@ function photos_content(App $a) '$preview' => DI::l10n()->t('Preview'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - //'$max_imagesize' => DI::config()->get('system', 'maximagesize'), - // don't know, if DI::config.. does not work here, so it is set to a manual value - '$max_imagesize' => 200000 ]); } @@ -1277,10 +1269,6 @@ function photos_content(App $a) '$preview' => DI::l10n()->t('Preview'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - //'$max_imagesize' => DI::config()->get('system', 'maximagesize'), - // don't know, if DI::config.. does not work here, so it is set to a manual value - '$max_imagesize' => 300000 ]); } }