Changeset 1520 in ExiteCMS for trunk/includes/locale_functions.php
- Timestamp:
- 07/03/08 16:21:19 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/locale_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/locale_functions.php
r1240 r1520 33 33 34 34 // locale detection - step 3 - check the browsers accepted languages 35 if (!defined('LOCALESET') && isset($ _SERVER['HTTP_ACCEPT_LANGUAGE']) && !empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {35 if (!defined('LOCALESET') && isset($settings['browserlang']) && $settings['browserlang'] && isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) && !empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { 36 36 // check which languages are supported by the users browser 37 37 $temp = explode(",", $_SERVER['HTTP_ACCEPT_LANGUAGE']);
Note: See TracChangeset
for help on using the changeset viewer.
