[-] FO : Bad shop_url in the mails

Most of the modules' mail are using something like {shop_url}{link} in the mail template.
{shop_url} now contains 'index.php', so a link like the one from the referralprogram will be : http://shopdomain/index.phpauthentication.php

Moreover, the homepage of the website is not necessary 'index.php'