mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
FileHandler::returnBytes()에서 잘못된 값을 반환하는 문제 수정
This commit is contained in:
parent
73178c94bb
commit
fff4ef1109
1 changed files with 2 additions and 1 deletions
|
|
@ -636,7 +636,8 @@ class FileHandler
|
|||
function returnBytes($val)
|
||||
{
|
||||
$unit = strtoupper(substr($val, -1));
|
||||
$val = (int)$val;
|
||||
$val = (float)$val;
|
||||
|
||||
switch ($unit)
|
||||
{
|
||||
case 'G': $val *= 1024;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue