User Story
Currently, the board will ALWAYS e-mail the administrator when a database
panic. This should
be configurable, as not every host has correctly configured SMTP.
Constraints
TBA
Tests
TBA
Action
Change this code in mysql5php5.class.php, lines 143 - 148.
// TODO: make this configurable as not every host has mail configured
// TODO: make this use the SMTP classes, if possible
if ( isset($CONFIG['adminemail']) && isset($CONFIG['bbname']) )
{
mail($CONFIG['adminemail'], 'GaiaBB :: Database panic from '.$CONFIG['bbname'],
$msg->getMessage() . "\r\n" . $this->conn->error );
}
Original issue reported on code.google.com by vande...@gmail.com on 20 Feb 2010 at 4:15
Original issue reported on code.google.com by
vande...@gmail.com
on 20 Feb 2010 at 4:15