echo site_url() returns a different value than what is in the database siteurl field

Looks like the previous developer had defined the site and home URLs in the main wp index.php file.