We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe64fb6 commit 55514b5Copy full SHA for 55514b5
1 file changed
web/maintenance/systeminfo_api.php
@@ -287,16 +287,16 @@ function getPartitionUsage($path, $label)
287
'unit' => '%'
288
],
289
$label . '_total' => [
290
- 'value' => round($diskTotal / 1024 / 1024 / 1024, 2),
291
- 'unit' => 'GB'
+ 'value' => round($diskTotal / 1024 / 1024, 2),
+ 'unit' => 'MB'
292
293
$label . '_used' => [
294
- 'value' => round($diskUsed / 1024 / 1024 / 1024, 2),
295
+ 'value' => round($diskUsed / 1024 / 1024, 2),
296
297
$label . '_free' => [
298
- 'value' => round($diskFree / 1024 / 1024 / 1024, 2),
299
+ 'value' => round($diskFree / 1024 / 1024, 2),
300
]
301
];
302
}
0 commit comments