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

git-svn-id: https://develop.svn.wordpress.org/trunk@13610 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-03-06 19:36:35 +00:00
parent 7850523e62
commit 8995a960b9
2 changed files with 4 additions and 4 deletions

View File

@@ -77,10 +77,6 @@ $table_prefix = 'wp_';
*/
define ('WPLANG', '');
// double check $base
if( $base == 'BASE' )
die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
// uncomment this to enable WP_CONTENT_DIR/sunrise.php support
//define( 'SUNRISE', 'on' );

View File

@@ -9,6 +9,10 @@
* @subpackage Multisite
*/
// $base sanity check.
if ( 'BASE' == $base )
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/".' );
/** Include Multisite initialization functions */
require( ABSPATH . WPINC . '/ms-load.php' );
require( ABSPATH . WPINC . '/ms-default-constants.php' );