Fix multilang
This commit is contained in:
parent
c8607a74bf
commit
12cb60040b
@ -74,7 +74,7 @@ if ($_SERVER['PHP_SELF'] != DOL_URL_ROOT.'/website/index.php') // If we browsing
|
|||||||
if ($newpageid != $pageid) // To avoid to make a redirect on same page (infinite loop)
|
if ($newpageid != $pageid) // To avoid to make a redirect on same page (infinite loop)
|
||||||
{
|
{
|
||||||
if (defined('USEDOLIBARRSERVER')) {
|
if (defined('USEDOLIBARRSERVER')) {
|
||||||
header("Location: ".DOL_URL_ROOT.'/public/website/index.php?website='.$websitekey.'&pageid='.$newpageid.'.php&l='.GETPOST('l','aZ09'));
|
header("Location: ".DOL_URL_ROOT.'/public/website/index.php?website='.$websitekey.'&pageid='.$newpageid.'&l='.GETPOST('l','aZ09'));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user