nextcloud/lib/private/Files/Storage
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
..
PolyFill Run the license script 2016-07-22 11:40:41 +02:00
Wrapper Allow jail wrappers to lazily initialize the source storage 2016-08-22 12:41:04 +02:00
Common.php Run the license script 2016-07-22 11:40:41 +02:00
CommonTest.php Run the license script 2016-07-22 11:40:41 +02:00
DAV.php Run the license script 2016-07-22 11:40:41 +02:00
FailedStorage.php Run the license script 2016-07-22 11:40:41 +02:00
Flysystem.php Run the license script 2016-07-22 11:40:41 +02:00
Home.php Run the license script 2016-07-22 11:40:41 +02:00
Local.php Only use realpath for real directories (#26060) 2016-09-27 00:15:27 +02:00
LocalTempFileTrait.php Run the license script 2016-07-22 11:40:41 +02:00
Storage.php Run the license script 2016-07-22 11:40:41 +02:00
StorageFactory.php Run the license script 2016-07-22 11:40:41 +02:00
Temporary.php Run the license script 2016-07-22 11:40:41 +02:00