nextcloud/lib
Vincent Petry 4cbdf51ddb
Only use realpath for real directories (#26060)
In some cross-local-storage use cases, the Local storage is
instantiated with "/" as data directory. In such cases, calling
realpath() would cause PHP warnings when open_basedir is set.

This fix bypasses the realpath() call when dealing with a root storage.

Downstreaming of https://github.com/owncloud/core/pull/26060

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 00:15:27 +02:00
..
composer Opening the trashbin causes errors in log for files without preview 2016-09-13 20:18:09 +02:00
l10n [tx-robot] updated from transifex 2016-09-25 00:09:47 +00:00
private Only use realpath for real directories (#26060) 2016-09-27 00:15:27 +02:00
public write channel to config file when changed 2016-09-26 13:48:05 +02:00
autoloader.php Run the license script 2016-07-22 11:40:41 +02:00
base.php Add exemptions for incompatible UAs 2016-09-08 21:06:57 +02:00