Skip to content

Commit

Permalink
Merge pull request #451 from ChaosKid42/add_exabyte_to_template
Browse files Browse the repository at this point in the history
Update settings-admin.php to add Exabyte
  • Loading branch information
szaimen authored May 16, 2023
2 parents 4b9857b + e138f74 commit 8c47a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/settings-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
style('serverinfo', 'style');

function FormatMegabytes(int $byte): string {
$unim = ['MB', 'GB', 'TB', 'PB'];
$unim = ['MB', 'GB', 'TB', 'PB', 'EB'];
$count = 0;
while ($byte >= 1024) {
$count++;
Expand Down

0 comments on commit 8c47a89

Please sign in to comment.