mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
fixed file-size as suggested by Lian Liming's patch [ 1010170 ] Patch for Bug [ 950555 ] Filemanager - filesize
This commit is contained in:
parent
e30da3d40f
commit
a136b35ea9
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user