mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 13:31:38 +08:00
规范调整
This commit is contained in:
@@ -60,8 +60,8 @@ class Debug {
|
||||
$a = ['B', 'KB', 'MB', 'GB', 'TB'];
|
||||
$pos = 0;
|
||||
while ($size >= 1024) {
|
||||
$size /= 1024;
|
||||
$pos++;
|
||||
$size /= 1024;
|
||||
$pos++;
|
||||
}
|
||||
return round($size,$dec)." ".$a[$pos];
|
||||
}
|
||||
@@ -81,8 +81,8 @@ class Debug {
|
||||
$a = ['B', 'KB', 'MB', 'GB', 'TB'];
|
||||
$pos = 0;
|
||||
while ($size >= 1024) {
|
||||
$size /= 1024;
|
||||
$pos++;
|
||||
$size /= 1024;
|
||||
$pos++;
|
||||
}
|
||||
return round($size,$dec)." ".$a[$pos];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user