Did you make a backup of the original index file. I always copy any files that need hacking to my computer and then rename the one on the server to I.E.
index.php
to
index.php1
and then upload the changed file back to the server.
If it does not work then all I gota do is rename the original file back yo E.G. index.php and you back to were you started.
Did you do a backup?
Brian