Revert "Revert "Fixed index.php""

This reverts commit 6b3f3b176dfcc014c1f9d03651d6ce416d3b9d65.