diff --git a/index.php b/index.php index 3584494..51c6eed 100644 --- a/index.php +++ b/index.php @@ -1,49 +1,5 @@ = 0) && ($bytes < $kb)) { -return $bytes . ' B'; - -} elseif (($bytes >= $kb) && ($bytes < $mb)) { -return ceil($bytes / $kb) . ' KB'; - -} elseif (($bytes >= $mb) && ($bytes < $gb)) { -return ceil($bytes / $mb) . ' MB'; - -} elseif (($bytes >= $gb) && ($bytes < $tb)) { -return ceil($bytes / $gb) . ' GB'; - -} elseif ($bytes >= $tb) { -return ceil($bytes / $tb) . ' TB'; -} else { -return $bytes . ' B'; -} -} - -$maxsize = max_size; -$core = new Core(); -?> - - -
- - - -
-
-