fix(functions): getDriveValues
parent
94ba5fb8b1
commit
f7e1879bca
|
|
@ -23,7 +23,7 @@
|
||||||
$drive->spaceFree = disk_free_space($drive->location);
|
$drive->spaceFree = disk_free_space($drive->location);
|
||||||
$drive->spaceTotal = disk_total_space($drive->location);
|
$drive->spaceTotal = disk_total_space($drive->location);
|
||||||
$drive->spaceUsed = getDifference(
|
$drive->spaceUsed = getDifference(
|
||||||
$drive->spaceFree, $drive->spaceTotal);
|
$drive->spaceTotal, $drive->spaceFree);
|
||||||
$drive->spacePercentageUsed = getPercentageUsed(
|
$drive->spacePercentageUsed = getPercentageUsed(
|
||||||
$drive->spaceTotal, $drive->spaceUsed);
|
$drive->spaceTotal, $drive->spaceUsed);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue