Changeset 1075 in ExiteCMS for trunk/includes/locale_functions.php
- Timestamp:
- 11/06/07 19:52:06 (5 years ago)
- File:
-
- 1 edited
-
trunk/includes/locale_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/locale_functions.php
r1072 r1075 69 69 function locale_load($locale_name) { 70 70 71 global $settings, $locale ;71 global $settings, $locale, $db_prefix; 72 72 73 73 // assemble the locale filename 74 $locales_file = PATH_ROOT."files/locales/".$ locale['locale'].".".$locale_name.".php";74 $locales_file = PATH_ROOT."files/locales/".$settings['locale'].".".$locale_name.".php"; 75 75 76 76 // check if we need to recompile from the database 77 if (dbtable_exists($ prefix."locales")) {77 if (dbtable_exists($db_prefix."locales")) { 78 78 79 79 // get the last update date from the locale strings table
Note: See TracChangeset
for help on using the changeset viewer.
