summaryrefslogtreecommitdiffstats
path: root/wp-blog-header.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-blog-header.php')
-rw-r--r--wp-blog-header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-blog-header.php b/wp-blog-header.php
index 213ba2d..ad1f602 100644
--- a/wp-blog-header.php
+++ b/wp-blog-header.php
@@ -6,7 +6,7 @@
*/
if ( !isset($wp_did_header) ) {
- if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
+ if ( !file_exists( dirname(__FILE__) . '/wp-config.php') && !file_exists( dirname( dirname(__FILE__) ) . '/wp-config.php')) {
if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
else $path = 'wp-admin/';
include( "index-install.php" ); // install WPMU!