htdocs/lib/common.inc.php 1 location
|
@@ 717-722 (lines=6) @@
|
| 714 |
|
global $opt, $cookie, $usr; |
| 715 |
|
|
| 716 |
|
// language specified in cookie? |
| 717 |
|
if ($cookie->is_set('usercountry')) { |
| 718 |
|
$sCountry = $cookie->get('usercountry', null); |
| 719 |
|
if ($sCountry != null) { |
| 720 |
|
return $sCountry; |
| 721 |
|
} |
| 722 |
|
} |
| 723 |
|
|
| 724 |
|
// user specified a country? |
| 725 |
|
if (isset($usr) && ($usr !== false)) { |
htdocs/lib2/login.class.php 1 location
|
@@ 379-384 (lines=6) @@
|
| 376 |
|
global $opt, $cookie; |
| 377 |
|
|
| 378 |
|
// language specified in cookie? |
| 379 |
|
if ($cookie->is_set('usercountry')) { |
| 380 |
|
$sCountry = $cookie->get('usercountry', null); |
| 381 |
|
if ($sCountry != null) { |
| 382 |
|
return $sCountry; |
| 383 |
|
} |
| 384 |
|
} |
| 385 |
|
|
| 386 |
|
|
| 387 |
|
|