[BUGFIX] Output correct max upload size 39/54939/2
authorAlexander Opitz <opitz.alexander@googlemail.com>
Wed, 6 Dec 2017 00:10:24 +0000 (01:10 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 6 Dec 2017 00:59:22 +0000 (01:59 +0100)
We should show what the max upload file size is and not the max size of
a HTTP post body.

Resolves: #83230
Releases: master, 8.7, 7.6
Change-Id: Ib6fa244b19c434417808bb19126f862cf9418fb0
Reviewed-on: https://review.typo3.org/54939
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/install/Classes/SystemEnvironment/Check.php

index 8393745..0b17691 100644 (file)
@@ -221,7 +221,7 @@ class Check
         } else {
             $status = new Status\OkStatus();
             $status->setTitle('Maximum post upload size correlates with maximum upload file size in PHP');
-            $status->setMessage('The maximum size for file uploads is actually set to ' . ini_get('post_max_size'));
+            $status->setMessage('The maximum size for file uploads is actually set to ' . ini_get('upload_max_filesize'));
         }
         return $status;
     }