]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - index.php
WordPress 3.8
[autoinstalls/wordpress.git] / index.php
index b1c655cd5206a392562d94d6f8dbd7a0da2cafbe..dd3d5544725cdeef35111afe17f57b4bc03221ec 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,5 +1,17 @@
 <?php
-/* Short and sweet */
+/**
+ * Front to the WordPress application. This file doesn't do anything, but loads
+ * wp-blog-header.php which does and tells WordPress to load the theme.
+ *
+ * @package WordPress
+ */
+
+/**
+ * Tells WordPress to load the WordPress theme and output it.
+ *
+ * @var bool
+ */
 define('WP_USE_THEMES', true);
-require('./wp-blog-header.php');
-?>
\ No newline at end of file
+
+/** Loads the WordPress Environment and Template */
+require( dirname( __FILE__ ) . '/wp-blog-header.php' );