root/tags/1_0-rc1/wp-blog-header.php

Revision 591, 421 bytes (checked in by donncha, 2 years ago)

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!

  • Property svn:eol-style set to native
Line 
1 <?php
2
3 if (! isset($wp_did_header)):
4 if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
5     if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
6     else $path = 'wp-admin/';
7     include( "index-install.php" ); // install WPMU!
8     die();
9 }
10
11 $wp_did_header = true;
12
13 require_once( dirname(__FILE__) . '/wp-config.php');
14
15 wp();
16 gzip_compression();
17
18 require_once(ABSPATH . WPINC . '/template-loader.php');
19
20 endif;
21
22 ?>
23
Note: See TracBrowser for help on using the browser.