reinstate index.php