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

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Dec 13 10:26:52 CET 2005


Dmitry Dulepov schrieb:
> 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.

Ok.

But what went wrong for me? Did I scre it up? Does Real URL simply does 
not work with httpd.conf (despite the manual)?

And I still do noz understand the way TYPO3_SITE_URL is generated.

Masi




More information about the TYPO3-dev mailing list