Make use of `ini_parse_quantity()` in FileUtil::getMemoryLimit()
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 3 Aug 2023 12:15:26 +0000 (14:15 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 3 Aug 2023 12:15:26 +0000 (14:15 +0200)
commitef1172766c90d084f00f7987d2c466767829bb95
treefed5325f36a8f8364e52fd7258d0b6f93b327a3d
parent2a70c464c3c605c58290d62dc5404092dbe6bcb0
Make use of `ini_parse_quantity()` in FileUtil::getMemoryLimit()

If `ini_parse_quantity()` is available (PHP 8.2+) it will certainly be more
accurate and simpler than our home-grown calculator.
wcfsetup/install/files/lib/util/FileUtil.class.php