Customize Database Error Page

Re: Customize Database Error Page

by Leonard Houx -
Number of replies: 1

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.

In reply to Leonard Houx

Re: Customize Database Error Page

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.