fixed file-size as suggested by Lian Liming's patch [ 1010170 ] Patch for Bug [ 950555 ] Filemanager - filesize

This commit is contained in:
Ralf Becker 2004-08-18 09:01:02 +00:00
parent e30da3d40f
commit a136b35ea9

View File

@ -726,6 +726,7 @@
'string' => $files['directory'] . '/' . $files['name'], 'string' => $files['directory'] . '/' . $files['name'],
'relatives' => array(RELATIVE_NONE) 'relatives' => array(RELATIVE_NONE)
); );
if($files['mime_type'] != 'Directory') $tmp_arr['checksubdirs'] = false;
$size = $this->bo->vfs->get_size($tmp_arr); $size = $this->bo->vfs->get_size($tmp_arr);