Changeset 1875 in ExiteCMS for trunk/includes/locale_functions.php
- Timestamp:
- 10/19/08 16:20:21 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/locale_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/locale_functions.php
r1776 r1875 257 257 require $locales_file; 258 258 } else { 259 // otherwise, if the locale is not English, try to load the system locale version260 if ($locale_code != "en") {261 // retrieve the info for the system locale (which is the first one installed!)262 $result = dbquery("SELECT * FROM ".$db_prefix."locale ORDER BY locale_id LIMIT 1");259 // otherwise, if the locale is not the default system locale, try to load the system locale version 260 if ($locale_code != $settings['default_locale']) { 261 // retrieve the info for the system locale 262 $result = dbquery("SELECT * FROM ".$db_prefix."locale WHERE locale_code = '".$settings['default_locale']."'"); 263 263 if (dbrows($result)) { 264 264 $data = dbarray($result);
Note: See TracChangeset
for help on using the changeset viewer.
