[TYPO3] The current link of the website

Livius_Agrippa livius_agrippa at yahoo.com
Wed Jul 5 20:17:38 CEST 2006


Joerg Schoppet wrote:
> Hi
> 
> Livius_Agrippa wrote:
>>
>> Hi,
>>
>> I work at one extension and I have only a question if this is possible 
>> or not.
>> Is it possible to find the current website address and use this inside 
>> an extension?
>>
>> I hope I explained the problem properly.
>>
>> Best regards,
>> Livius
> 
> look at class.t3lib_div.php and there the method getIndpEnv().
> 
> Regards
> 
> Joerg Schoppet

Hi Joerg,

Thank you very much for your hint.
This function give the basic link to the website:
t3lib_div::getIndpEnv('TYPO3_SITE_URL')

regards,
Livius



More information about the TYPO3-english mailing list