The reason the wp-config.php file is located there is for extra security. By default WP looks in the root folder if not found then it will look in DIR above.
Be careful when moving a site to EE that you may get a connection to database error. That's because you have 2 wp-configs. Delete the root one.