diff options
author | Lars <winnetou+github@catolic.de> | 2015-12-24 00:20:30 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 11:50:31 +0100 |
commit | 3a5087ccdff79012a6c14adb63dbaa2e61607f2d (patch) | |
tree | 605286c84b0d11cb84594db64643b9f925bcf877 /apps/files/js/file-upload.js | |
parent | 05f9b4041942794eab74328b95bfbf04c7c9e203 (diff) | |
download | nextcloud-server-3a5087ccdff79012a6c14adb63dbaa2e61607f2d.tar.gz nextcloud-server-3a5087ccdff79012a6c14adb63dbaa2e61607f2d.zip |
tempnam accepts a directory as its first parameter, not a full path and filename.
tempnam falls back to creating a file in the system's temp directory. On systems with open_basedir restrictions, this may trigger an error message. By moving this below the checkTemporaryDirectory-loop, tempnam will only be tested if all alternatives fail and the error message is most likely avoided.
Diffstat (limited to 'apps/files/js/file-upload.js')
0 files changed, 0 insertions, 0 deletions