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.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/wp-blog-header.php b/wp-blog-header.php
new file mode 100644
index 0000000..18863b6
--- /dev/null
+++ b/wp-blog-header.php
@@ -0,0 +1,22 @@
+<?php
+
+if (! isset($wp_did_header)):
+if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
+ if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
+ else $path = 'wp-admin/';
+ include( "index-install.php" ); // install WPMU!
+ die();
+}
+
+$wp_did_header = true;
+
+require_once( dirname(__FILE__) . '/wp-config.php');
+
+wp();
+gzip_compression();
+
+require_once(ABSPATH . WPINC . '/template-loader.php');
+
+endif;
+
+?>