server/lib/private/Files/Storage
Vincent Petry 1f21a132c7
Only use realpath for real directories (#26058)
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/26058

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:21:47 +02:00
..
PolyFill Update with robin 2016-07-21 18:13:58 +02:00
Wrapper Allow jail wrappers to lazily initialize the source storage 2016-08-22 12:26:27 +02:00
Common.php Update with robin 2016-07-21 18:13:58 +02:00
CommonTest.php Update with robin 2016-07-21 18:13:58 +02:00
DAV.php Update with robin 2016-07-21 18:13:58 +02:00
FailedStorage.php Update with robin 2016-07-21 18:13:58 +02:00
Flysystem.php Update with robin 2016-07-21 18:13:58 +02:00
Home.php Update with robin 2016-07-21 18:13:58 +02:00
Local.php Only use realpath for real directories (#26058) 2016-09-26 11:21:47 +02:00
LocalTempFileTrait.php Fix others 2016-07-21 18:13:57 +02:00
Storage.php Update with robin 2016-07-21 18:13:58 +02:00
StorageFactory.php Update with robin 2016-07-21 18:13:58 +02:00
Temporary.php Update with robin 2016-07-21 18:13:58 +02:00