spacing >:(
This commit is contained in:
parent
64b3371ac2
commit
0796c59f92
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function humanfilesize($size, $unit="") {
|
function humanfilesize($size, $unit = "") {
|
||||||
if ((!$unit && $size >= 1 << 30) || $unit == "GB")
|
if ((!$unit && $size >= 1 << 30) || $unit == "GB")
|
||||||
return number_format($size / (1 << 30),2)."GB";
|
return number_format($size / (1 << 30),2)."GB";
|
||||||
if ((!$unit && $size >= 1 << 20) || $unit == "MB")
|
if ((!$unit && $size >= 1 << 20) || $unit == "MB")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue