Skip to content

Commit 856850e

Browse files
committed
Add Disk Report Message
1 parent baa8c25 commit 856850e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ServerReport.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public static function disk_report($directory = '/')
3232
'free_space' => formatSizeUnits(disk_free_space($directory)),
3333
'total_space' => formatSizeUnits(disk_total_space($directory))
3434
),
35+
'message' => array(
36+
'text' => 'Free: ' . formatSizeUnits(disk_free_space($directory)) . ' / Total: ' . formatSizeUnits(disk_total_space($directory))
37+
)
3538
);
3639
}
3740

0 commit comments

Comments
 (0)