@@ -52,7 +52,7 @@ |
||
52 | 52 | } elseif ($os === 'Linux') { |
53 | 53 | $memInfo = file_get_contents("/proc/meminfo"); |
54 | 54 | preg_match("/MemTotal:\s+(\d+)\skB/", $memInfo, $matches); |
55 | - return isset($matches[1]) ? round((float)$matches[1] / 1024, 2) :0; |
|
55 | + return isset($matches[1]) ? round((float)$matches[1] / 1024, 2) : 0; |
|
56 | 56 | } |
57 | 57 | return 0; |
58 | 58 | } |