Changeset 919

Show
Ignore:
Timestamp:
03/16/07 21:26:22 (2 years ago)
Author:
donncha
Message:

Add MUPLUGINDIR constant so that mu-plugins can be relocated

Files:

Legend:

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

    r909 r919  
    221221 
    222222$wpdb->hide_errors(); 
    223 $plugins = glob( ABSPATH . 'wp-content/mu-plugins/*.php' ); 
     223if( defined( 'MUPLUGINDIR' ) == false )  
     224        define( 'MUPLUGINDIR', 'wp-content/mu-plugins' ); 
     225 
     226$plugins = glob( ABSPATH . MUPLUGINDIR . '/*.php' ); 
    224227if( is_array( $plugins ) ) { 
    225228        foreach ( $plugins as $plugin ) {