bugfix: look for index.php in the right place