mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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' );
|
||||
|
||||
|
||||
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user