FileHandler::returnBytes()에서 잘못된 값을 반환하는 문제 수정

This commit is contained in:
bnu 2015-04-01 13:46:44 +09:00
parent 73178c94bb
commit fff4ef1109

View file

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