From: MarekBenjamin <117765478+MarekBenjamin@users.noreply.github.com> Date: Wed, 30 Nov 2022 00:49:53 +0000 (+0100) Subject: Update src/Module/Admin/Site.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=72b3bbb23c43d1868e05efd8109441beb01ebd43;p=friendica.git Update src/Module/Admin/Site.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Module/Admin/Site.php b/src/Module/Admin/Site.php index 9e6967d827..a6b47df245 100644 --- a/src/Module/Admin/Site.php +++ b/src/Module/Admin/Site.php @@ -476,7 +476,7 @@ class Site extends BaseAdmin '$maximagesize' => ['maximagesize', DI::l10n()->t('Maximum image size'), DI::config()->get('system', 'maximagesize'), DI::l10n()->t('Maximum size in bytes of uploaded images. Default is 0, which means no limits. The value of upload_max_filesize in your PHP.ini needs be set to at least the desired limit. Currently upload_max_filesize is set to %s (%sB)', Strings::getBytesFromShorthand(ini_get('upload_max_filesize')), ini_get('upload_max_filesize')), - '', '', '', '\d+(?:\s*[kmg])?'], + '', 'pattern="\d+(?:\s*[kmg])?"'], '$maximagelength' => ['maximagelength', DI::l10n()->t('Maximum image length'), DI::config()->get('system', 'max_image_length'), DI::l10n()->t('Maximum length in pixels of the longest side of uploaded images. Default is -1, which means no limits.')], '$jpegimagequality' => ['jpegimagequality', DI::l10n()->t('JPEG image quality'), DI::config()->get('system', 'jpeg_quality'), DI::l10n()->t('Uploaded JPEGS will be saved at this quality setting [0-100]. Default is 100, which is full quality.')],