Rename core/db.php to xf/core/db.php