Closed GalileoWebagentur closed 3 years ago
Thanks for your pull request.
This won't work currently as is because memory ini values can be set with different units:
ini_get('memory_limit') === '1G' // Or '1000K'
Would need to convert the result of ini_get('memory_limit')
to MB before the comparison.
Alright, added a commit with code from https://www.php.net/manual/de/function.ini-get.php to parse the memory_limit value