Make WordPress Core

Changeset 13610


Ignore:
Timestamp:
03/06/2010 07:36:35 PM (15 years ago)
Author:
nacin
Message:

Move $base sanity check to from MS config template to ms-settings. see #11816

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/wp-config.ms

    r13568 r13610  
    7878define ('WPLANG', '');
    7979
    80 // double check $base
    81 if( $base == 'BASE' )
    82     die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
    83 
    8480// uncomment this to enable WP_CONTENT_DIR/sunrise.php support
    8581//define( 'SUNRISE', 'on' );
  • trunk/wp-includes/ms-settings.php

    r13575 r13610  
    99 * @subpackage Multisite
    1010 */
     11
     12// $base sanity check.
     13if ( 'BASE' == $base )
     14    die( 'Configuration error in <code>wp-config.php<code>. <code>$base</code> is set to "BASE" when it should be the path like "/" or "/blogs/".' );
    1115
    1216/** Include Multisite initialization functions */
Note: See TracChangeset for help on using the changeset viewer.