Changeset 995
- Timestamp:
- 06/08/07 19:30:46 (1 year ago)
- Files:
-
- trunk/wp-config-sample.php (modified) (1 diff)
- trunk/wp-settings.php (modified) (2 diffs)
- trunk/wpmu-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-config-sample.php
r972 r995 19 19 // chosen language must be installed to wp-content/languages. 20 20 // For example, install de.mo to wp-content/languages and set WPLANG to 'de' 21 // to enable German language support. 22 define ('WPLANG', ''); 21 // to enable language support. 22 define('WPLANG', ''); 23 // uncomment this to enable wp-content/sunrise.php support 24 //define( 'SUNRISE', 'on' ); 23 25 24 26 define( "WP_USE_MULTIPLE_DB", false ); trunk/wp-settings.php
r972 r995 126 126 $wpdb->usermeta = $wpdb->prefix . 'usermeta'; 127 127 128 if( defined( 'SUNRISE' ) ) 129 include_once( ABSPATH . 'wp-content/sunrise.php' ); 130 128 131 require_once ( ABSPATH . 'wpmu-settings.php' ); 129 132 $wpdb->prefix = $table_prefix; … … 137 140 $wpdb->options = $wpdb->prefix . 'options'; 138 141 $wpdb->postmeta = $wpdb->prefix . 'postmeta'; 139 $wpdb->siteid = $ site_id;140 $wpdb->blogid = $ blog_id;142 $wpdb->siteid = $current_blog->site_id; 143 $wpdb->blogid = $current_blog->blog_id; 141 144 142 145 if ( defined('CUSTOM_USER_TABLE') ) trunk/wpmu-settings.php
r912 r995 1 1 <?php 2 if( defined( 'ABSPATH' ) == false)3 die();2 if( $current_site && $current_blog ) 3 return; 4 4 5 5 $wpmuBaseTablePrefix = $table_prefix;
