mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update switch.php: kB to KB in byte_convert function.
This commit is contained in:
@@ -89,7 +89,7 @@ function event_socket_request_cmd($cmd) {
|
||||
}
|
||||
|
||||
function byte_convert($bytes, $precision = 2) {
|
||||
static $units = array('B','kB','MB','GB','TB','PB','EB','ZB','YB');
|
||||
static $units = array('B','KB','MB','GB','TB','PB','EB','ZB','YB');
|
||||
$step = 1024;
|
||||
$i = 0;
|
||||
while (($bytes / $step) > 0.9) {
|
||||
|
||||
Reference in New Issue
Block a user