From a136b35ea9ad30098fb467f2e2654b2e43a96100 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 18 Aug 2004 09:01:02 +0000 Subject: [PATCH] fixed file-size as suggested by Lian Liming's patch [ 1010170 ] Patch for Bug [ 950555 ] Filemanager - filesize --- filemanager/inc/class.uifilemanager.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/filemanager/inc/class.uifilemanager.inc.php b/filemanager/inc/class.uifilemanager.inc.php index 3890785eaa..6566001b9e 100755 --- a/filemanager/inc/class.uifilemanager.inc.php +++ b/filemanager/inc/class.uifilemanager.inc.php @@ -726,6 +726,7 @@ 'string' => $files['directory'] . '/' . $files['name'], 'relatives' => array(RELATIVE_NONE) ); + if($files['mime_type'] != 'Directory') $tmp_arr['checksubdirs'] = false; $size = $this->bo->vfs->get_size($tmp_arr);