[TYPO3-dev] Fail-safe mechanism for database connectivityproblem

John Angel johnange at gmail.com
Mon Oct 9 09:00:05 CEST 2006


> if ($_GET['L'] == '1') {
>   $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/400-fr/';
> }


You are right, that is enough.

I suggest creating one independent PHP file for error handling (both 404 and
others), which will be distrubuted with Typo3 installation, with examples
like this in it.

It will be turned on in config_default configuration and display similar
errors like now.

Maybe we can even provide simple solution for templates.





More information about the TYPO3-dev mailing list