Changeset 815
- Timestamp:
- 11/28/06 12:05:29 (2 years ago)
- Files:
-
- trunk/wp-content/blogs.php (modified) (1 diff)
- trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-content/blogs.php
r814 r815 1 1 <?php 2 define( ' BLOGDEFINITION', true ); // this prevents most of WP from being loaded2 define( 'SHORTINIT', true ); // this prevents most of WP from being loaded 3 3 require_once( dirname( dirname( __FILE__) ) . '/wp-config.php' ); // absolute includes are faster 4 4 trunk/wp-settings.php
r810 r815 148 148 wp_cache_init(); 149 149 150 define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files/" ); 151 if( defined( "BLOGDEFINITION" ) && constant( "BLOGDEFINITION" ) == true ) 150 if( !defined( "UPLOADS" ) ) 151 define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files/" ); 152 if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics 152 153 return; 153 154
