[Typo3-dev] t3lib_div::getIndpEnv('TYPO3_SITE_URL') ?!?!

Dmitry Dulepov typo3 at fm-world.ru
Tue Dec 13 10:08:48 CET 2005


Hi!

Martin Kutschker wrote:
> $lPath = t3lib_div::dirname(t3lib_div::getIndpEnv('SCRIPT_NAME')).'/';

Wrong way. SCRIPT_NAME is very different between CGI/module
installations and it can be different for various servers/platforms.

Dmitry.




More information about the TYPO3-dev mailing list