[FEATURE] Introduce a stream wrapper to overlay file paths 11/29011/10
authorPhilipp Gampe <philipp.gampe@typo3.org>
Tue, 1 Apr 2014 01:56:18 +0000 (03:56 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 29 Jan 2015 13:40:01 +0000 (14:40 +0100)
commitfeddcb7043762f17dcbc14e006d95f2e1e02169a
treedf6543824f43481ea332ee2d8b92ac0d7c8fecd0
parent4beeebe28136761be507139cfe86029591b1c1d7
[FEATURE] Introduce a stream wrapper to overlay file paths

Implement a stream wrapper for the file:// protocol that can intercept
any call to the filesystem.
Transparently rewrite registered paths such that they can be replaced
by vfs:// stream wrappers.

Resolves: #57477
Releases: master
Change-Id: I3bd2e12f58d618883aa962b1d090b9c172c89be1
Reviewed-on: http://review.typo3.org/29011
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/FileStreamWrapper.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/FileStreamWrapperTest.php [new file with mode: 0644]