[TYPO3-english] realURL: correct configuration declaration... ?

Thomas Russel blueworm01 at gmx.net
Sat Oct 3 15:17:21 CEST 2009


Hello,

what's the difference between the following array declarations for
realURL config?

The first 2 examples are from the 
http://dmitry-dulepov.com/article/realurl-made-easy-part-1.html
blog..

The last one I found in a few other posts on the web and here.

--------------------------------------

$tx_realurl_config = array(
     'init' => array(
	...
     ),


),


$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
     'www.domain.com' => $tx_realurl_config,
),

--------------------------------------


$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
     '_DEFAULT' => array(
         ...
     ),
);

--------------------------------------

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
         'init' => array(
	...
         ), //end init
),

--------------------------------------

Which one shall I use?


More information about the TYPO3-english mailing list