fix 0 byte filesize bug
This commit is contained in:
@@ -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"];
|
||||
|
Reference in New Issue
Block a user