| [ Index ] |
PHP Cross Reference of Wordpress MU 2.7 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Loads the WordPress environment and template. 4 * 5 * @package WordPress 6 */ 7 8 if ( !isset($wp_did_header) ) { 9 if ( !file_exists( dirname(__FILE__) . '/wp-config.php') && !file_exists( dirname( dirname(__FILE__) ) . '/wp-config.php')) { 10 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = ''; 11 else $path = 'wp-admin/'; 12 include ( "index-install.php" ); // install WPMU! 13 die(); 14 } 15 16 $wp_did_header = true; 17 18 require_once( dirname(__FILE__) . '/wp-load.php' ); 19 20 wp(); 21 22 require_once( ABSPATH . WPINC . '/template-loader.php' ); 23 24 } 25 26 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 5 12:05:07 2009 | Cross-referenced by PHPXref 0.7 |