[TYPO3-dev] RealUrl

Starck Jonathan info at cretection.eu
Fri Feb 15 08:15:27 CET 2013


Hi,

is it possible to set the variable 'rootpage_id' in my RealUrl configuration dynamically?

I found an interesting approach:

$RootPID = array( 'www . domainname . de' => '2', 'www . domainname . de' => '22', 'www . domainname . de' => '45' );
'rootpage_id' => $RootPID[$_SERVER['HTTP_HOST']]

But this is not really dynamic.

Regards Jonathan



More information about the TYPO3-dev mailing list