Changeset 774 for branches/Ver2.5/xpressme_integration_kit/wp-content
- Timestamp:
- May 24, 2011, 10:05:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.5/xpressme_integration_kit/wp-content/plugins/xpressme/include/update_xpress.php
r773 r774 29 29 */ 30 30 function update_xpress($from, $to) { 31 global $wp_filesystem, $_old_xpress_files, $wpdb , $modInfo;31 global $wp_filesystem, $_old_xpress_files, $wpdb; 32 32 show_message( __('Disable overwrite of wp-config.php...', 'xpressme') ); 33 34 $mod_ver = $modInfo->get_module_version();35 // Rewrite wp-config.php when update it to Ver.3 from Ver.2.36 if (version_compare($mod_ver, '3.0', '>=')){37 if (file_exists($wp_version_file)){38 include $wp_version_file;39 $now_virsion = str_replace("ME", "", $wp_version);40 }41 }42 33 // remove wp-config.php from the new version into place. 43 34 $wp_config = $from . 'wp-config.php';
Note: See TracChangeset
for help on using the changeset viewer.