Fix the error message when SERVER_NAME is undefined in footer during install
Tidy up the code
Merge pull request #2 from Fannybaws/fixfooter

Fixfooter