Revert "Update database.php"

This reverts commit ff948c148b8328976d90fcbfe7516d55bf0682c2.
Revert "Revert "Update database.php""

This reverts commit 3d8e87fad88763e2dd23efe7f25fcaf48cdde291.