X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/443bfec0350085788ddcc6b5ca5a541e2321ec64..0419aada6e1045b8702bdf6ef4496c8c36d07695:/lib/lib.php?ds=sidebyside 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]); }