增加统计项目
This commit is contained in:
1 parent
98e15deeac
commit
0b926d92fc
21 files changed
+686
-167
No files matched your search
@@ -188,11 +188,3 @@
|
||||
$check = $md5->check($inputPassword, $serverPassword);
|
||||
return $check;
|
||||
}
|
||||
|
||||
|
||||
// 文件大小
|
||||
function format_bytes($size, $delimiter = '') {
|
||||
$units = array('B', 'KB', 'MB', 'GB', 'TB', 'PB');
|
||||
for ($i = 0; $size >= 1024 && $i < 5; $i++) $size /= 1024;
|
||||
return round($size, 2) . $delimiter . $units[$i];
|
||||
}
|
||||
Reference in new issue
Block a user