From 53e6372f15efa9e5865bf30ed1442fdb9d136128 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 16 Jan 2013 20:32:53 +0100 Subject: [PATCH] Fixes setup --- wcfsetup/install/files/lib/system/WCFSetup.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1