X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3e7fab96d7874067884348df10bbdcdefa4a89ad..8d3bb1a5dcfdea9857d3c88c3751f09593e34dc8:/wp-blog-header.php?ds=sidebyside diff --git a/wp-blog-header.php b/wp-blog-header.php index 00d3ccd5..3a7cfb69 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -1,25 +1,21 @@ 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.", "WordPress › Error"); -} - -$wp_did_header = true; + $wp_did_header = true; -require_once( dirname(__FILE__) . '/wp-config.php'); + // Load the WordPress library. + require_once( dirname(__FILE__) . '/wp-load.php' ); -wp(); -gzip_compression(); + // Set up the WordPress query. + wp(); -require_once(ABSPATH . WPINC . '/template-loader.php'); + // Load the theme template. + require_once( ABSPATH . WPINC . '/template-loader.php' ); -endif; - -?> +}