From 117eaeab2f28756e5f0120d29450d68f9f957270 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sun, 12 Oct 2008 17:40:20 +0000 Subject: [PATCH] phpdoc fixes for setup-config.php. See #7550 props jacobsantos. git-svn-id: https://develop.svn.wordpress.org/trunk@9126 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/setup-config.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 6d1590456e..bcebf765b7 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -15,10 +15,16 @@ * @package WordPress */ define('WP_INSTALLING', true); -//These three defines are required to allow us to use require_wp_db() to load the database class while being wp-content/db.php aware + +/**#@+ + * These three defines are required to allow us to use require_wp_db() to load + * the database class while being wp-content/db.php aware. + * @ignore + */ define('ABSPATH', dirname(dirname(__FILE__)).'/'); define('WPINC', 'wp-includes'); define('WP_CONTENT_DIR', ABSPATH . 'wp-content'); +/**#@-*/ require_once('../wp-includes/compat.php'); require_once('../wp-includes/functions.php'); @@ -135,10 +141,14 @@ switch($step) { if (empty($prefix)) $prefix = 'wp_'; // Test the db connection. + /**#@+ + * @ignore + */ define('DB_NAME', $dbname); define('DB_USER', $uname); define('DB_PASSWORD', $passwrd); define('DB_HOST', $dbhost); + /**#@-*/ // We'll fail here if the values are no good. require_wp_db();