Changeset 1410

Show
Ignore:
Timestamp:
08/04/08 16:37:23 (4 months ago)
Author:
donncha
Message:

Added WPMU_PLUGIN_DIR WPMU_PLUGIN_URL and changed MUPLUGINDIR back to a relative path for compatibility

Files:

Legend:

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

    r1409 r1410  
    319319 
    320320$wpdb->hide_errors(); 
     321if ( !defined('WPMU_PLUGIN_DIR') ) 
     322        define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' ); // full path, no trailing slash 
     323if ( !defined('WPMU_PLUGIN_URL') ) 
     324        define( 'WPMU_PLUGIN_URL', WP_CONTENT_URL . '/mu-plugins' ); // full url, no trailing slash 
    321325if( defined( 'MUPLUGINDIR' ) == false )  
    322         define( 'MUPLUGINDIR', WP_CONTENT_DIR . '/mu-plugins' ); 
     326        define( 'MUPLUGINDIR', 'wp-content/mu-plugins' ); // Relative to ABSPATH.  For back compat. 
    323327 
    324328if( is_dir( ABSPATH . MUPLUGINDIR ) ) {