Set index.php based on environment.