add permissions of the file to the json response

This commit is contained in:
Thomas Müller 2013-09-18 11:22:29 +02:00
parent 2e79aab0ce
commit 370ed814f7

View file

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