diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-08-21 10:52:22 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-08-21 10:52:22 +0200 |
commit | 9753e44ac2352d181417dfea2781f5d4df5f7b47 (patch) | |
tree | 569ae0882448c9224aefd6041b0a00dbc97bd102 /apps/files/js/file-upload.js | |
parent | 12f4494de02457d51004ca6a82c1b2160189819f (diff) | |
download | nextcloud-server-9753e44ac2352d181417dfea2781f5d4df5f7b47.tar.gz nextcloud-server-9753e44ac2352d181417dfea2781f5d4df5f7b47.zip |
Do not use realpath() on includes.
If the file does not exist, realpath() returns false and "include false;"
produces "Failed opening '' for inclusion" which is a useless error message.
'include' works just fine with symlinks, "./" and "../".
Diffstat (limited to 'apps/files/js/file-upload.js')
0 files changed, 0 insertions, 0 deletions