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
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an