diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-06-08 19:30:46 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-06-08 19:30:46 +0000 |
commit | 483d1c2dc5a6056baee2793337fe3a8773210e31 (patch) | |
tree | bd5b04c0f619c98b884363e1e87e87842c3bfd91 /wpmu-settings.php | |
parent | 094bce1a0679c6d175921e5e634a8be4709358ba (diff) | |
download | wordpress-mu-483d1c2dc5a6056baee2793337fe3a8773210e31.tar.gz wordpress-mu-483d1c2dc5a6056baee2793337fe3a8773210e31.tar.xz wordpress-mu-483d1c2dc5a6056baee2793337fe3a8773210e31.zip |
Add support for sunrise initialisation script at wp-content/sunrise.php
This script is called before site and blog lookup and could be used
to perform domain mapping or skip the lookup process.
Define SUNRISE constant in wp-config.php to enable.
Create $current_site and $current_blog objects to skip regular lookup
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@995 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wpmu-settings.php')
-rw-r--r-- | wpmu-settings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wpmu-settings.php b/wpmu-settings.php index 06ba9dd..38c7b36 100644 --- a/wpmu-settings.php +++ b/wpmu-settings.php @@ -1,6 +1,6 @@ <?php
-if( defined( 'ABSPATH' ) == false )
- die();
+if( $current_site && $current_blog )
+ return;
$wpmuBaseTablePrefix = $table_prefix;
|