Update index.php

change root definition to handle windows getcwd() ( \ ) error, instead of ( / ) ...