fix paths in index.php

fix the paths so that index.php points at the correct subdirectory.