[TYPO3-english] Realurl and the _DEFAULT array - how to avoid this deprecated key ?

Victor Livakovsky v-tyok at mail.ru
Fri Jan 14 17:18:58 CET 2011


Hi, Christoph.
That warning is not about ‘_DEFAULT’ keyword in postVarSets, but about domain name. Typical RealURL configuration is done this way:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'][‘_DEFAULT’] = array(
...
config comes here
...
)
And should be:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'][‘yourdomain.name’] = array(
...
config comes here
...
)
Just exchange ‘_DEFAULT’ keyword with your domain name in configuration file. Typically it is stored in ‘typo3conf/realurl_conf.php’


More information about the TYPO3-english mailing list