mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-09 03:24:06 +00:00
Fix fixing of coding style
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
function getProcessorCount()
|
function getProcessorCount()
|
||||||
{
|
{
|
||||||
$sCPU = file_get_contents('/proc/cpuinfo');
|
$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]);
|
return sizeof($aMatches[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user