src build elFinder-2.1-b7625fb

This commit is contained in:
nao-pon
2017-03-11 23:16:02 +09:00
parent 9164dd86d3
commit 7c3fbc802b
6 changed files with 38 additions and 35 deletions
+1
View File
@@ -473,6 +473,7 @@ class elFinderVolumeBox extends elFinderVolumeDriver
if ($raw->type === 'folder') {
$stat['mime'] = 'directory';
$stat['size'] = 0;
$stat['dirs'] = -1;
} else {
$stat['size'] = (int) $raw->size;
if (!empty($raw->shared_link->url) && $raw->shared_link->access == 'open') {