[TYPO3-core] RFC #15246: Use t3lib_div::getIndpEnv('SCRIPT_FILENAME') to determine PATH_thisScript
Philipp Gampe
phil at philippgampe.info
Tue Jul 27 21:35:42 CEST 2010
Am 27.07.2010, 13:34 Uhr, schrieb Dmitry Dulepov <dmitry at typo3.org>:
> I made a quick search and discovered that this change may break script
> path
> detection. Here is what I found quickly.
>
> SCRIPT_FILENAME is non–standard. CGI spec [1] does not have this
> variable,
> so it is possible that your solution will not work in cgi mode.
>
> SCRIPT_FILENAME under MS IIS returns a string with backward slashes. Web
> also indicates that this variable may not exist when php runs as cgi
> under
> MS IIS. I did not check any Windows versions myself. The information
> comes
> from comments on php.net.
I think Steffen Kamper just wanted to dig into it… see thread: "RFC
#15224: unittest in …"
Best regards
--
Philipp Gampe
More information about the TYPO3-team-core
mailing list