General help

Customize Database Error Page

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Leonard Houx
Re: Customize Database Error Page

Is this the same for 2x? I can't find it in lib/setup.php.

It would be great to be able to provide the user with something less robotic.

Average of ratings: -
Tim at Lone Pine Koala Sanctuary
Re: Customize Database Error Page
Group Core developersGroup Documentation writersGroup Particularly helpful MoodlersGroup Plugin developers

In 2.x it is slighly different. lib/setup.php does still exist.

The code you are looking for to customise is in lib/setuplib.php. The early_error_content method.

Average of ratings: -