[TYPO3-dev] RCF: use stream wrappers to access files within extensions

Popy popy.dev at gmail.com
Tue Oct 9 14:22:42 CEST 2007


2007/10/9, Martin Kutschker <Martin.Kutschker at n0spam-blackbox.net>:
>
> Dmitry Dulepov [typo3] schrieb:
> > Martin Kutschker wrote:
> >> Currently there is code to parse the special EXT:foobar syntax for a
> >> number of special occasions. How about changing that into PHP stream
> >> wrappers with te protocol typo3-ext: or typo3:/ext? The latter allows
> >> for more variations without adding more protocols (eg typo3:/tmp or
> >> typo3:/conf)
> >>
> >> The point is that you can access TYPO3 files whereever you can use a
> URL.
> >
> > Will it work if allow_url_fopen is off? It is off on most servers and
> > should be off for security reasons.
>
> Drats, of course it won't work :-(
>
It will work, allow_url_fopen disable only http and https include, and most
of the time, only allow_url_include is disabled

The stream wrapper is already done : see extension pp_extstream

-- 
Popy

Vulnerant omnes, ultima necat.

http://popy.sytes.net




More information about the TYPO3-dev mailing list