set folder size to 0 when scanning the filesystem
This commit is contained in:
parent
4f7c7c615e
commit
5d196f14db
1 changed files with 1 additions and 0 deletions
|
@ -420,6 +420,7 @@ class OC_FileCache{
|
|||
$mimetype=$view->getMimeType($path);
|
||||
$stat=$view->stat($path);
|
||||
if($mimetype=='httpd/unix-directory') {
|
||||
$stat['size'] = 0;
|
||||
$writable=$view->is_writable($path.'/');
|
||||
}else{
|
||||
$writable=$view->is_writable($path);
|
||||
|
|
Loading…
Reference in a new issue