Rename xf/core/database.php to core/database.php