Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop

This commit is contained in:
root 2017-05-02 11:03:49 +02:00
commit 1def42c6db

View File

@ -252,6 +252,12 @@ class LandingPages extends Module {
$connect_button = 0;
$on_home = 0;
$lp = Tools::getValue('lpes');
if(_PS_MOBILE_ || _THEME_NAME_ == 'site_mobile') {
$link = new Link();
Tools::redirectLink($link->getPageLink('authentication.php').'?create_account=1'.(isset($lp)? '&lp='.$lp: ''));
}
if($lp) {
if($landing = Db::getInstance()->getRow('
SELECT `on_home`,`connect_button`