diff --git a/core/function.php b/core/function.php index 771242c..d97da1a 100755 --- a/core/function.php +++ b/core/function.php @@ -482,7 +482,7 @@ function byteConvert($bytes) { if ($bytes == 0) return "0 B"; - $s = array('B', 'Kb', 'MB', 'GB', 'TB', 'PB'); + $s = array('B', 'KB', 'MB', 'GB', 'TB', 'PB'); $e = floor(log($bytes)/log(1024)); return sprintf('%.2f '.$s[$e], ($bytes/pow(1024, $e)));