Update index.php

Delete redundant code.