Changeset 815

Show
Ignore:
Timestamp:
11/28/06 12:05:29 (2 years ago)
Author:
donncha
Message:

Needed to rename this CONSTANT for a long time

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-content/blogs.php

    r814 r815  
    11<?php 
    2 define( 'BLOGDEFINITION', true ); // this prevents most of WP from being loaded 
     2define( 'SHORTINIT', true ); // this prevents most of WP from being loaded 
    33require_once( dirname( dirname( __FILE__) ) . '/wp-config.php' ); // absolute includes are faster 
    44 
  • trunk/wp-settings.php

    r810 r815  
    148148wp_cache_init(); 
    149149 
    150 define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files/" ); 
    151 if( defined( "BLOGDEFINITION" ) && constant( "BLOGDEFINITION" ) == true ) 
     150if( !defined( "UPLOADS" ) ) 
     151        define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files/" ); 
     152if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics 
    152153        return; 
    153154