Update index.php

- Remove realpath and use global include path