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 18863b6..b7ab2ef 100644
--- a/wp-blog-header.php
+++ b/wp-blog-header.php
@@ -2,7 +2,7 @@
if (! isset($wp_did_header)):
if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
- if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
+ if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
else $path = 'wp-admin/';
include( "index-install.php" ); // install WPMU!
die();