Skip to content

Commit

Permalink
https://github.com/mage2pro/core/issues/163
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 28, 2021
1 parent fa80cce commit bcac5ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugin/Framework/App/FrontControllerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ function aroundDispatch(Sb $sb, \Closure $f, IRequest $r) {
if (!($c = $s2->country())) /** @var string $c */ {
$s2->country($c = (df_is_localhost() ? 'HR' : df_visitor()->iso2()));
}
if (!$s->getDfeFrugueRedirected()) {
if (!$s2->redirected()) {
if (df_url_path_contains(Switcher::PATH)) {
$s->setDfeFrugueRedirected(true);
$s2->redirected(true);
}
else {
# «При первичном посещении клиента с IP адресом из Германии, Австрии, Швейцарии -
Expand Down

0 comments on commit bcac5ec

Please sign in to comment.