diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-03-13 17:24:47 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-03-28 18:03:52 +0100 |
commit | 0968eb0a65fd2e8a28bc64e881d47df3d1a209b3 (patch) | |
tree | 96ed2474c1c36e560fdfa9937ea5862eb4dc87c0 /apps | |
parent | df31ee5a903efb288dcb217dc13591a4efd46572 (diff) | |
download | nextcloud-server-0968eb0a65fd2e8a28bc64e881d47df3d1a209b3.tar.gz nextcloud-server-0968eb0a65fd2e8a28bc64e881d47df3d1a209b3.zip |
return original filename to fileupload
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/ajax/upload.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php index b9eea2fea62..e1263744e1b 100644 --- a/apps/files/ajax/upload.php +++ b/apps/files/ajax/upload.php @@ -71,6 +71,7 @@ if (strpos($dir, '..') === false) { 'size' => $meta['size'], 'id' => $meta['fileid'], 'name' => basename($target), + 'originalname'=>$files['name'][$i], 'uploadMaxFilesize' => $maxUploadFilesize, 'maxHumanFilesize' => $maxHumanFilesize ); |