Changeset 1076 in ExiteCMS
- Timestamp:
- 11/06/07 20:06:51 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/locale_functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/locale_functions.php
r1075 r1076 78 78 79 79 // get the last update date from the locale strings table 80 $ result = dbquery("SELECT MAX(locales_datestamp) as last_update FROM ".$db_prefix." WHERE locales_locale = '".$settings['locale']."' AND locales_name = '".$locale_name."'");80 $data = dbarray(dbquery("SELECT MAX(locales_datestamp) as last_update FROM ".$db_prefix."locales WHERE locales_locale = '".$settings['locale']."' AND locales_name = '".$locale_name."'")); 81 81 82 82 // if found... 83 if ($data = dbarray($result)) {83 if ($data['last_update']) { 84 84 85 85 // if the locales cache does not exist or is out of date... … … 87 87 88 88 // compile the locales cache file from the locales table 89 if ($handle = fopen($locales_file, 'w')) {89 if ($handle = @fopen($locales_file, 'w')) { 90 90 91 91 // get the locale records for the selected locale and this locale_name
Note: See TracChangeset
for help on using the changeset viewer.
