wp/wp-blog-header.php
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
equal deleted inserted replaced
8:c7c34916027a 9:177826044cd9
     3  * Loads the WordPress environment and template.
     3  * Loads the WordPress environment and template.
     4  *
     4  *
     5  * @package WordPress
     5  * @package WordPress
     6  */
     6  */
     7 
     7 
     8 if ( !isset($wp_did_header) ) {
     8 if ( ! isset( $wp_did_header ) ) {
     9 
     9 
    10 	$wp_did_header = true;
    10 	$wp_did_header = true;
    11 
    11 
    12 	// Load the WordPress library.
    12 	// Load the WordPress library.
    13 	require_once( dirname(__FILE__) . '/wp-load.php' );
    13 	require_once( dirname( __FILE__ ) . '/wp-load.php' );
    14 
    14 
    15 	// Set up the WordPress query.
    15 	// Set up the WordPress query.
    16 	wp();
    16 	wp();
    17 
    17 
    18 	// Load the theme template.
    18 	// Load the theme template.