规范调整

This commit is contained in:
thinkphp
2015-10-03 21:43:48 +08:00
parent 7c2bcbcff2
commit 1cfb3704c6
31 changed files with 393 additions and 285 deletions

View File

@@ -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];
}