fixed typo in database.php debugging script