Changeset 1026

Show
Ignore:
Timestamp:
08/08/07 08:28:50 (1 year ago)
Author:
donncha
Message:

Move PLUGINDIR definition down so it can be set by an MU plugin if needed, props mysorehead, fixes #372

Files:

Legend:

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

    r1005 r1026  
    101101} 
    102102 
    103 if ( !defined('PLUGINDIR') ) 
    104         define('PLUGINDIR', 'wp-content/plugins'); // no leading slash, no trailing slash 
    105103if ( file_exists(ABSPATH . 'wp-content/db.php') ) 
    106104        require (ABSPATH . 'wp-content/db.php'); 
     
    267265require (ABSPATH . WPINC . '/vars.php'); 
    268266 
     267if ( !defined('PLUGINDIR') ) 
     268        define('PLUGINDIR', 'wp-content/plugins'); // no leading slash, no trailing slash 
    269269if ( get_option('active_plugins') ) { 
    270270        $current_plugins = get_option('active_plugins');