It seems like this change shouldn't fail on a different host, but check the obvious, first:
double-check that you've uploaded the homepage.php file to MT
does the homepage.php file have the correct permissions on MT
are your EE versions the same in each case
are the hosts PHP versions the same in each case
If it isn't something obvious, can you update ...