X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=3d6a1d4051f1cece7072ea8b4b522ea9e59ed505;hb=f5a1df9201d8e20a74799c61e86b4cdabb459979;hp=a08b569ced6f70de8009dba728fb5e80b39fb0bf;hpb=920dcca263edb51088381b7077ff336222e10bd9;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index a08b569ced..3d6a1d4051 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -32,6 +32,7 @@ use Friendica\Core\Renderer; use Friendica\Core\System; use Friendica\Database\DBA; use Friendica\Database\DBStructure; +use Friendica\DI; use Friendica\Model\Contact; use Friendica\Model\Item; use Friendica\Model\Photo; @@ -713,7 +714,7 @@ function photos_content(App $a) // When PHP is configured with upload_max_filesize less than maximagesize provide this lower limit. $maximagesize_bytes = (is_numeric($mis_bytes) && ($mis_bytes < $umf_bytes) ? $mis_bytes : $umf_bytes); - // @todo We may be want to use appropriate binary prefixed dynamicly + // @todo We may be want to use appropriate binary prefixed dynamically $usage_message = DI::l10n()->t('The maximum accepted image size is %s', Strings::formatBytes($maximagesize_bytes)); $tpl = Renderer::getMarkupTemplate('photos_upload.tpl');