diff --git a/config-dist.php b/config-dist.php index b64d1a1acdc..0fe1de2ba3a 100644 --- a/config-dist.php +++ b/config-dist.php @@ -264,6 +264,12 @@ $CFG->admin = 'admin'; // If you are going to publish your log, or the output of your web stats analyzer // this will weaken the security of your website. // +// Email database connection errors to someone. If Moodle cannot connect to the +// database, then email this address with a notice. +// +// $CFG->emailconnectionerrors = your@emailaddress.com; +// +// //========================================================================= diff --git a/lib/setup.php b/lib/setup.php index ba8f8bcc966..27529073964 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -137,6 +137,12 @@ $CFG->httpswwwroot = $CFG->wwwroot; echo '
The site administrator should also check that the database details have been correctly specified in config.php
'; echo ''; echo '