Fix fixing of coding style

This commit is contained in:
Sarah Hoffmann
2016-03-28 22:04:08 +02:00
parent bfcbb94aed
commit 83cca343c3

View File

@@ -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]);
}