X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/bfcbb94aedfc495c7cefc3d13fcbbe9af3473003..83cca343c3b8264e8c2bea79c0e660dd7ab6dd42:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 5edd7328..fccda314 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -77,7 +77,7 @@ function getProcessorCount() { $sCPU = file_get_contents('/proc/cpuinfo'); - preg_match_all('#processor : [0-9]+#', $sCPU, $aMatches); + preg_match_all('#processor\s+: [0-9]+#', $sCPU, $aMatches); return sizeof($aMatches[0]); }