RE: Automatic language selection
The_Bear <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.installation |
|---|---|
| Message-ID | <4bd304bd0c046103c69b155b3f095749@osCommerce-Forums> |
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=227447#227447
----------------------------------------------------------------
Check in includes/application_top.php around line 216 for this: [code]// verify the browser user agent if the feature is enabled
if (SESSION_CHECK_USER_AGENT == 'True') {
$http_user_agent = getenv('HTTP_USER_AGENT');
if (!tep_session_is_registered('SESSION_USER_AGENT')) {
$SESSION_USER_AGENT = $http_user_agent;
tep_session_register('SESSION_USER_AGENT');
}
if ($SESSION_USER_AGENT != $http_user_agent) {
tep_session_destroy();
tep_redirect(tep_href_link(FILENAME_LOGIN));
}
}[/code]
HTH
The_Bear