diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-22 18:31:50 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-22 18:31:50 +0000 |
commit | d48e85e0ac5e675ca33fac173f30c75403d1033f (patch) | |
tree | 1164430fa3b83a4d9283961b09c1576f2885e6b2 /wp-blog-header.php | |
parent | 086dcde66603301531efc6d8087bd06d0546f148 (diff) | |
download | wordpress-mu-d48e85e0ac5e675ca33fac173f30c75403d1033f.tar.gz wordpress-mu-d48e85e0ac5e675ca33fac173f30c75403d1033f.tar.xz wordpress-mu-d48e85e0ac5e675ca33fac173f30c75403d1033f.zip |
Moved everything in wp-inst down a directory.
Uses's Ryan Boren's htaccess rules and mods
If you're upgrading, try this on a test server first!
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@591 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-blog-header.php')
-rw-r--r-- | wp-blog-header.php | 22 |
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; + +?> |