From: Marcel Werk Date: Wed, 16 Jan 2013 19:32:53 +0000 (+0100) Subject: Fixes setup X-Git-Tag: 2.0.0_Beta_1~557^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53e6372f15efa9e5865bf30ed1442fdb9d136128;p=GitHub%2FWoltLab%2FWCF.git Fixes setup --- diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index d784fd01a8..6b0c2ee0a2 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -425,7 +425,7 @@ class WCFSetup extends WCF { } // PHP supports 'K', 'M' and 'G' shorthand notation - if (preg_match('~^(\d+)([KMG])~$', $memoryLimit, $matches)) { + if (preg_match('~^(\d+)([KMG])$~', $memoryLimit, $matches)) { switch ($matches[2]) { case 'K': $memoryLimit = $matches[1] * 1024;