Corrected database.php