From 393104c98c069a337dd0bec9409eeb34a743ab7e Mon Sep 17 00:00:00 2001 From: Richard Fath Date: Fri, 7 Mar 2025 13:40:38 +0100 Subject: [PATCH] Use Joomla\Filesystem\Helper as FilesystemHelper Don't use the deprecated CMS Filesystem but the framework package --- plugins/installer/packageinstaller/tmpl/default.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/installer/packageinstaller/tmpl/default.php b/plugins/installer/packageinstaller/tmpl/default.php index 60f75e7aee403..5d68a7187b8da 100644 --- a/plugins/installer/packageinstaller/tmpl/default.php +++ b/plugins/installer/packageinstaller/tmpl/default.php @@ -10,9 +10,9 @@ defined('_JEXEC') or die; -use Joomla\CMS\Filesystem\FilesystemHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\Filesystem\Helper as FilesystemHelper; /** @var \Joomla\Plugin\Installer\Package\Extension\PackageInstaller $this */ @@ -33,7 +33,7 @@ ); $return = $this->getApplication()->getInput()->getBase64('return'); -$maxSizeBytes = FilesystemHelper::fileUploadMaxSize(false); +$maxSizeBytes = FilesystemHelper::getFileUploadMaxSize(); $maxSize = HTMLHelper::_('number.bytes', $maxSizeBytes); ?>