Fixes index.php bug.
Merge pull request #35 from tamasd/7.x-1.x

Fixes index.php bug.