Install check added to index.php

Checks if the congig.dist was changed to .php