fix 0 byte filesize bug

This commit is contained in:
lolcat 2024-03-21 10:19:29 -04:00
parent 3309431ac7
commit 9c01f3f4ab
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function do_filesize($path, $is_dir){
if($filesize === 0){
echo "0.00 B";
return "0.00 B";
}
$s = ["B", "KB", "MB", "GB", "TB", "PB"];