Defining the default template

So I’m using a theme that has home.php that I want displayed on the main blog (ie: domain.com). If you go to domain.com/new-site I want the index.php to be loaded instead.

So far the easiest way I’ve figured this out is to hack the core function get_home_template() like so:

function get_home_template() {

if(!empty($_SERVER)) { return false; }

$template = locate_template(array('home.php', 'index.php'));

return apply_filters('home_template', $template);

}

Is there a better way to do this I didn’t ind by chance?