- Timestamp:
- May 23, 2011, 3:03:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/include/wp_installer.php
r744 r757 46 46 //xpress 47 47 global $wpdb,$wp_rewrite, $wp_queries, $table_prefix, $wp_db_version, $wp_roles, $wp_query,$wp_embed; 48 global $xoops_config;49 48 $msgs = array(); 50 49 … … 107 106 108 107 // Rewrite Option for Xpress 109 $xoops_conf ig_tbl = XOOPS_DB_PREFIX . '_config' ;110 $sql = "SELECT conf_value FROM $xoops_conf ig_tbl WHERE `conf_name` = 'default_TZ'";108 $xoops_conf_tbl = XOOPS_DB_PREFIX . '_config' ; 109 $sql = "SELECT conf_value FROM $xoops_conf_tbl WHERE `conf_name` = 'default_TZ'"; 111 110 $xoops_default_TZ = $wpdb->get_var($sql); 112 111 update_option('gmt_offset', $xoops_default_TZ);
Note: See TracChangeset
for help on using the changeset viewer.