add permissions of the file to the json response

remotes/origin/stable6
Thomas Müller 13 years ago
parent 2e79aab0ce
commit 370ed814f7
  1. 3
      apps/files/ajax/upload.php

@ -116,7 +116,8 @@ if (strpos($dir, '..') === false) {
'name' => basename($target),
'originalname' => $files['name'][$i],
'uploadMaxFilesize' => $maxUploadFileSize,
'maxHumanFilesize' => $maxHumanFileSize
'maxHumanFilesize' => $maxHumanFileSize,
'permissions' => $meta['permissions']
);
}
}

Loading…
Cancel
Save