[TYPO3-german] Multiple Error pages
bernd wilke
t3ng at bernd-wilke.net
Wed Feb 25 10:40:39 CET 2015
Am 25.02.15 um 10:06 schrieb Christian Tauscher:
> Hallo zusammen.
>
> Ich hatte vor T3 6.x in meiner localconf folgednes Konstrukt stehen:
>
>
> switch($_SERVER['HTTP_HOST']) {
> case 'domain1.de':
> $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/index.php?id=762';
> break;
> ...
> }
>
> Die Errorpage wird also abhängig von der Domain gewählt,
>
> Mittlerweile ist localconf einem großen Array gewichen.
>
> Wo kann ich jetzt noch diese Zeilen php einfügen?
>
> AdditionalConfiguration.php ist's leider nicht
jein.
das ist schon die Datei, aber die Variable hat sich etwas geändert:
aus
$TYPO3_CONF_VARS['FE'][...]
musst du jetzt nur
$GLOBALS['TYPO3_CONF_VARS']['FE'][...]
machen.
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-german
mailing list