X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..41497a896330304904ef6d5783c724ea713739f6:/wp-blog-header.php
diff --git a/wp-blog-header.php b/wp-blog-header.php
index c087324f..3e1b8ef5 100644
--- a/wp-blog-header.php
+++ b/wp-blog-header.php
@@ -1,21 +1,18 @@
wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.");
-}
-
-$wp_did_header = true;
+if ( !isset($wp_did_header) ) {
-require_once( dirname(__FILE__) . '/wp-config.php');
+ $wp_did_header = true;
-wp();
-gzip_compression();
+ require_once( dirname(__FILE__) . '/wp-load.php' );
-require_once(ABSPATH . WPINC . '/template-loader.php');
+ wp();
-endif;
+ require_once( ABSPATH . WPINC . '/template-loader.php' );
-?>
\ No newline at end of file
+}